diff options
| author | Eric Andersen <andersen@codepoet.org> | 1999-10-09 00:25:00 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 1999-10-09 00:25:00 +0000 |
| commit | f811e07b072600a3784a92e5a1dc8a93dac477eb (patch) | |
| tree | 820c6366f8bdacf617a9591cc2ca9dfe107b1fa3 /findutils | |
| parent | 8341a1565306a54e685455d19efb0516ad3328a1 (diff) | |
| download | busybox-w32-f811e07b072600a3784a92e5a1dc8a93dac477eb.tar.gz busybox-w32-f811e07b072600a3784a92e5a1dc8a93dac477eb.tar.bz2 busybox-w32-f811e07b072600a3784a92e5a1dc8a93dac477eb.zip | |
More stuff.
Diffstat (limited to 'findutils')
| -rw-r--r-- | findutils/find.c | 2 | ||||
| -rw-r--r-- | findutils/grep.c | 10 |
2 files changed, 6 insertions, 6 deletions
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 @@ | |||
| 27 | 27 | ||
| 28 | static char* pattern=NULL; | 28 | static char* pattern=NULL; |
| 29 | static char* directory=NULL; | 29 | static char* directory=NULL; |
| 30 | int dereferenceFlag=FALSE; | 30 | static int dereferenceFlag=FALSE; |
| 31 | 31 | ||
| 32 | static const char find_usage[] = "find [path...] [expression]\n" | 32 | static const char find_usage[] = "find [path...] [expression]\n" |
| 33 | "default path is the current directory; default expression is -print\n" | 33 | "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[] = | |||
| 31 | 31 | ||
| 32 | 32 | ||
| 33 | 33 | ||
| 34 | static BOOL search (const char *string, const char *word, BOOL ignoreCase); | 34 | static int search (const char *string, const char *word, int ignoreCase); |
| 35 | 35 | ||
| 36 | 36 | ||
| 37 | extern int grep_main (int argc, char **argv) | 37 | extern int grep_main (int argc, char **argv) |
| @@ -40,9 +40,9 @@ extern int grep_main (int argc, char **argv) | |||
| 40 | const char *word; | 40 | const char *word; |
| 41 | const char *name; | 41 | const char *name; |
| 42 | const char *cp; | 42 | const char *cp; |
| 43 | BOOL tellName; | 43 | int tellName; |
| 44 | BOOL ignoreCase; | 44 | int ignoreCase; |
| 45 | BOOL tellLine; | 45 | int tellLine; |
| 46 | long line; | 46 | long line; |
| 47 | char buf[BUF_SIZE]; | 47 | char buf[BUF_SIZE]; |
| 48 | 48 | ||
| @@ -125,7 +125,7 @@ extern int grep_main (int argc, char **argv) | |||
| 125 | /* | 125 | /* |
| 126 | * See if the specified word is found in the specified string. | 126 | * See if the specified word is found in the specified string. |
| 127 | */ | 127 | */ |
| 128 | static BOOL search (const char *string, const char *word, BOOL ignoreCase) | 128 | static int search (const char *string, const char *word, int ignoreCase) |
| 129 | { | 129 | { |
| 130 | const char *cp1; | 130 | const char *cp1; |
| 131 | const char *cp2; | 131 | const char *cp2; |
