| 907 | static void grep0(FILE *, FILE *, int); |
| 908 | |
| 909 | static void |
| 910 | do_grep(void) |
| 911 | { |
| 912 | if (!inputfp) { |
| 913 | Fprintf(stderr, "--grep requires --input\n"); |
| 914 | } |
| 915 | if (!outputfp) { |
| 916 | Fprintf(stderr, "--grep requires --output\n"); |
| 917 | } |
| 918 | if (!inputfp || !outputfp) { |
| 919 | makedefs_exit(EXIT_FAILURE); |
| 920 | /*NOTREACHED*/ |
| 921 | } |
| 922 | |
| 923 | grep0(inputfp, outputfp, 0); |
| 924 | } |
| 925 | |
| 926 | static void |
| 927 | grep0(FILE *inputfp0, FILE* outputfp0, int flg) |
no test coverage detected