diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/halt.c | 4 | ||||
-rw-r--r-- | init/init_shared.c | 7 |
2 files changed, 2 insertions, 9 deletions
diff --git a/init/halt.c b/init/halt.c index d1f561b63..7bd27896c 100644 --- a/init/halt.c +++ b/init/halt.c | |||
@@ -4,13 +4,11 @@ | |||
4 | * | 4 | * |
5 | * Copyright 2006 by Rob Landley <rob@landley.net> | 5 | * Copyright 2006 by Rob Landley <rob@landley.net> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include "busybox.h" | 10 | #include "busybox.h" |
11 | #include <signal.h> | ||
12 | #include <sys/reboot.h> | 11 | #include <sys/reboot.h> |
13 | #include <unistd.h> | ||
14 | 12 | ||
15 | int halt_main(int argc, char *argv[]) | 13 | int halt_main(int argc, char *argv[]) |
16 | { | 14 | { |
diff --git a/init/init_shared.c b/init/init_shared.c index 0abe72fdf..5e46abf09 100644 --- a/init/init_shared.c +++ b/init/init_shared.c | |||
@@ -4,15 +4,10 @@ | |||
4 | * | 4 | * |
5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 5 | * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include "busybox.h" | 10 | #include "busybox.h" |
11 | #include <signal.h> | ||
12 | #include <stdlib.h> | ||
13 | #include <sys/types.h> | ||
14 | #include <unistd.h> | ||
15 | #include <getopt.h> | ||
16 | #include <sys/reboot.h> | 11 | #include <sys/reboot.h> |
17 | #include <sys/syslog.h> | 12 | #include <sys/syslog.h> |
18 | #include "init_shared.h" | 13 | #include "init_shared.h" |