remove unnecessary close()s, found bug (exit 141)
[forkaftergrep.git] / fag.h
diff --git a/fag.h b/fag.h
index 374dd263dcc5b864d2bb3417e0e847c9adae842d..65148c0c1fc4c6a67afee7af82eaeaf4f932ced2 100644 (file)
--- a/fag.h
+++ b/fag.h
@@ -19,22 +19,9 @@ struct opt {
        char* pattern;
        char** argv;
        int stream;
+       char grepopt[16];
 };
 
-enum grep_regex {
-       basic_regexp,
-       extended_regexp,
-       fixed_strings,
-       perl_regexp,
-};
-struct grepopt {
-       enum grep_regex regex;
-       int ignore_case;
-       int word_regexp;
-       int line_regexp;
-       int binary;
-};
-
-int fork_after_grep (struct opt opts, struct grepopt optg);
+int fork_after_grep (struct opt opts);
 
 #endif
Imprint / Impressum