aboutsummaryrefslogtreecommitdiff
path: root/init/halt.c
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 /init/halt.c
parentc7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff)
downloadbusybox-06af2165288cd6516b89001ec9e24992619230e0.tar.gz
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'init/halt.c')
-rw-r--r--init/halt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/halt.c b/init/halt.c
index a6cf48bbe..d5c22a8ac 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -10,6 +10,7 @@
#include "busybox.h"
#include <sys/reboot.h>
+int halt_main(int argc, char *argv[]);
int halt_main(int argc, char *argv[])
{
static const int magic[] = {