diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 20:28:39 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 20:28:39 +0300 |
commit | 06af2165288cd6516b89001ec9e24992619230e0 (patch) | |
tree | 840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /findutils | |
parent | c7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff) |
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'findutils')
-rw-r--r-- | findutils/find.c | 1 | ||||
-rw-r--r-- | findutils/grep.c | 1 | ||||
-rw-r--r-- | findutils/xargs.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/findutils/find.c b/findutils/find.c index d71af9ca9..b4ef7cbaa 100644 --- a/findutils/find.c +++ b/findutils/find.c @@ -543,6 +543,7 @@ static action*** parse_params(char **argv) } +int find_main(int argc, char **argv); int find_main(int argc, char **argv) { int dereference = FALSE; diff --git a/findutils/grep.c b/findutils/grep.c index 76f656237..f4652fa72 100644 --- a/findutils/grep.c +++ b/findutils/grep.c @@ -321,6 +321,7 @@ static int grep_dir(const char *dir) } +int grep_main(int argc, char **argv); int grep_main(int argc, char **argv) { FILE *file; diff --git a/findutils/xargs.c b/findutils/xargs.c index 077b8847f..c2060f804 100644 --- a/findutils/xargs.c +++ b/findutils/xargs.c @@ -387,6 +387,7 @@ enum { USE_FEATURE_XARGS_SUPPORT_TERMOPT( "x") \ USE_FEATURE_XARGS_SUPPORT_ZERO_TERM( "0") +int xargs_main(int argc, char **argv); int xargs_main(int argc, char **argv) { char **args; |