summaryrefslogtreecommitdiffhomepage
path: root/applets
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:28:39 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 17:28:39 +0000
commit06af2165288cd6516b89001ec9e24992619230e0 (patch)
tree840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /applets
parentc7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff)
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'applets')
-rw-r--r--applets/Kbuild2
-rw-r--r--applets/busybox.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/applets/Kbuild b/applets/Kbuild
index 8999ff097..4323e85f2 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 79634f99e..99af9ca02 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)
{
/*