summaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorDenis Vlasenko2007-02-03 17:28:39 +0000
committerDenis Vlasenko2007-02-03 17:28:39 +0000
commit06af2165288cd6516b89001ec9e24992619230e0 (patch)
tree840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /findutils
parentc7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff)
downloadbusybox-06af2165288cd6516b89001ec9e24992619230e0.zip
busybox-06af2165288cd6516b89001ec9e24992619230e0.tar.gz
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'findutils')
-rw-r--r--findutils/find.c1
-rw-r--r--findutils/grep.c1
-rw-r--r--findutils/xargs.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/findutils/find.c b/findutils/find.c
index d71af9c..b4ef7cb 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 76f6562..f4652fa 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 077b884..c2060f8 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;