=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/grep.c,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- src/usr.bin/mg/grep.c 2008/06/10 00:19:31 1.35 +++ src/usr.bin/mg/grep.c 2008/06/14 08:39:30 1.36 @@ -1,4 +1,4 @@ -/* $OpenBSD: grep.c,v 1.35 2008/06/10 00:19:31 kjell Exp $ */ +/* $OpenBSD: grep.c,v 1.36 2008/06/14 08:39:30 kjell Exp $ */ /* This file is in the public domain */ @@ -15,7 +15,6 @@ static int compile_goto_error(int, int); int next_error(int, int); static int grep(int, int); -static int compile(int, int); static int gid(int, int); static struct buffer *compile_mode(const char *, const char *); static int xlint(int, int); @@ -107,7 +106,7 @@ } /* ARGSUSED */ -static int +int compile(int f, int n) { char cprompt[NFILEN], *bufp;