summaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
authorEric Andersen1999-10-09 00:25:00 +0000
committerEric Andersen1999-10-09 00:25:00 +0000
commitf811e07b072600a3784a92e5a1dc8a93dac477eb (patch)
tree820c6366f8bdacf617a9591cc2ca9dfe107b1fa3 /grep.c
parent8341a1565306a54e685455d19efb0516ad3328a1 (diff)
downloadbusybox-f811e07b072600a3784a92e5a1dc8a93dac477eb.zip
busybox-f811e07b072600a3784a92e5a1dc8a93dac477eb.tar.gz
More stuff.
Diffstat (limited to 'grep.c')
-rw-r--r--grep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/grep.c b/grep.c
index 11198b8..52ef6c0 100644
--- a/grep.c
+++ b/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;