diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-06-19 17:25:40 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-06-19 17:25:40 +0000 |
commit | b610615be9aedfac07d1e01f12575707fa3a227c (patch) | |
tree | b94c0d6a506d1ef77f79df246a26d504c84b7110 /findutils | |
parent | dbb3019d0de410960feac649a0b9320ae245cca1 (diff) | |
download | busybox-w32-b610615be9aedfac07d1e01f12575707fa3a227c.tar.gz busybox-w32-b610615be9aedfac07d1e01f12575707fa3a227c.tar.bz2 busybox-w32-b610615be9aedfac07d1e01f12575707fa3a227c.zip |
Updates to a number of apps to remove warnings/compile errors under libc5.
Tested under both libc5 and libc6 and all seems well with these fixes.
-Erik
Diffstat (limited to 'findutils')
-rw-r--r-- | findutils/find.c | 2 | ||||
-rw-r--r-- | findutils/grep.c | 2 | ||||
-rw-r--r-- | findutils/which.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/findutils/find.c b/findutils/find.c index 53b85e6b3..329d15193 100644 --- a/findutils/find.c +++ b/findutils/find.c | |||
@@ -116,5 +116,5 @@ int find_main(int argc, char **argv) | |||
116 | exit(FALSE); | 116 | exit(FALSE); |
117 | } | 117 | } |
118 | 118 | ||
119 | exit(TRUE); | 119 | return(TRUE); |
120 | } | 120 | } |
diff --git a/findutils/grep.c b/findutils/grep.c index b91fe7c2c..0e495ff87 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -163,7 +163,7 @@ extern int grep_main(int argc, char **argv) | |||
163 | fclose(fp); | 163 | fclose(fp); |
164 | } | 164 | } |
165 | } | 165 | } |
166 | exit(match); | 166 | return(match); |
167 | } | 167 | } |
168 | 168 | ||
169 | 169 | ||
diff --git a/findutils/which.c b/findutils/which.c index 7a11bf787..8d4422a78 100644 --- a/findutils/which.c +++ b/findutils/which.c | |||
@@ -88,7 +88,7 @@ extern int which_main(int argc, char **argv) | |||
88 | exit (FALSE); | 88 | exit (FALSE); |
89 | } | 89 | } |
90 | } | 90 | } |
91 | exit(TRUE); | 91 | return(TRUE); |
92 | } | 92 | } |
93 | 93 | ||
94 | /* | 94 | /* |