From f811e07b072600a3784a92e5a1dc8a93dac477eb Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 9 Oct 1999 00:25:00 +0000 Subject: More stuff. --- findutils/find.c | 2 +- findutils/grep.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'findutils') diff --git a/findutils/find.c b/findutils/find.c index a42f9e979..d618401bf 100644 --- a/findutils/find.c +++ b/findutils/find.c @@ -27,7 +27,7 @@ static char* pattern=NULL; static char* directory=NULL; -int dereferenceFlag=FALSE; +static int dereferenceFlag=FALSE; static const char find_usage[] = "find [path...] [expression]\n" "default path is the current directory; default expression is -print\n" diff --git a/findutils/grep.c b/findutils/grep.c index 11198b851..52ef6c0fe 100644 --- a/findutils/grep.c +++ b/findutils/grep.c @@ -31,7 +31,7 @@ const char grep_usage[] = -static BOOL search (const char *string, const char *word, BOOL ignoreCase); +static int search (const char *string, const char *word, int ignoreCase); extern int grep_main (int argc, char **argv) @@ -40,9 +40,9 @@ extern int grep_main (int argc, char **argv) const char *word; const char *name; const char *cp; - BOOL tellName; - BOOL ignoreCase; - BOOL tellLine; + int tellName; + int ignoreCase; + int tellLine; long line; char buf[BUF_SIZE]; @@ -125,7 +125,7 @@ extern int grep_main (int argc, char **argv) /* * See if the specified word is found in the specified string. */ -static BOOL search (const char *string, const char *word, BOOL ignoreCase) +static int search (const char *string, const char *word, int ignoreCase) { const char *cp1; const char *cp2; -- cgit v1.2.3