diff options
author | Denis Vlasenko | 2007-02-03 17:28:39 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-02-03 17:28:39 +0000 |
commit | 06af2165288cd6516b89001ec9e24992619230e0 (patch) | |
tree | 840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /applets | |
parent | c7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff) | |
download | busybox-06af2165288cd6516b89001ec9e24992619230e0.zip busybox-06af2165288cd6516b89001ec9e24992619230e0.tar.gz |
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'applets')
-rw-r--r-- | applets/Kbuild | 2 | ||||
-rw-r--r-- | applets/busybox.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/applets/Kbuild b/applets/Kbuild index 8999ff0..4323e85 100644 --- a/applets/Kbuild +++ b/applets/Kbuild @@ -18,5 +18,5 @@ HOSTCFLAGS_usage.o = -I$(srctree)/include quiet_cmd_gen_usage_compressed = GEN include/usage_compressed.h cmd_gen_usage_compressed = $(srctree)/applets/usage_compressed include/usage_compressed.h applets -include/usage_compressed.h: $(srctree)/include/usage.h applets/usage +include/usage_compressed.h: .config $(srctree)/include/usage.h applets/usage $(call cmd,gen_usage_compressed) diff --git a/applets/busybox.c b/applets/busybox.c index 79634f9..99af9ca 100644 --- a/applets/busybox.c +++ b/applets/busybox.c @@ -73,6 +73,7 @@ int main(int argc, char **argv) bb_error_msg_and_die("applet not found"); } +int busybox_main(int argc, char **argv); int busybox_main(int argc, char **argv) { /* |