diff options
Diffstat (limited to 'reboot.c')
-rw-r--r-- | reboot.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * Mini reboot implementation for busybox | 3 | * Mini reboot implementation for busybox |
3 | * | 4 | * |
@@ -23,9 +24,8 @@ | |||
23 | #include "internal.h" | 24 | #include "internal.h" |
24 | #include <signal.h> | 25 | #include <signal.h> |
25 | 26 | ||
26 | extern int | 27 | extern int reboot_main(int argc, char **argv) |
27 | reboot_main(int argc, char ** argv) | ||
28 | { | 28 | { |
29 | /* don't assume init's pid == 1 */ | 29 | /* don't assume init's pid == 1 */ |
30 | exit( kill(findInitPid(), SIGINT)); | 30 | exit(kill(findInitPid(), SIGINT)); |
31 | } | 31 | } |