diff options
author | Eric Andersen | 2003-07-22 08:56:55 +0000 |
---|---|---|
committer | Eric Andersen | 2003-07-22 08:56:55 +0000 |
commit | 85e5e72bc1acd9d58c11bde6e14c8270cd9f169f (patch) | |
tree | 9971c6951256dd0bba5ff2a7db08ed6f65ef218d /init/init.c | |
parent | 0a14c9f924eaf6a64e78959a190d187d646b3c0c (diff) | |
download | busybox-85e5e72bc1acd9d58c11bde6e14c8270cd9f169f.zip busybox-85e5e72bc1acd9d58c11bde6e14c8270cd9f169f.tar.gz |
Remove remaining libc5 support code
Diffstat (limited to 'init/init.c')
-rw-r--r-- | init/init.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/init/init.c b/init/init.c index 69ce4b2..1f0bd4a 100644 --- a/init/init.c +++ b/init/init.c @@ -42,6 +42,7 @@ #include <sys/mount.h> #include <sys/types.h> #include <sys/wait.h> +#include <sys/reboot.h> #include "busybox.h" #include "init_shared.h" @@ -50,9 +51,6 @@ #ifdef CONFIG_SYSLOGD # include <sys/syslog.h> #endif -#if (__GNU_LIBRARY__ > 5) || defined(__dietlibc__) -#include <sys/reboot.h> -#endif #if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_MMU__) @@ -665,11 +663,7 @@ static void init_reboot(unsigned long magic) * linux/kernel/sys.c, which can cause the machine to panic when * the init process is killed.... */ if ((pid = fork()) == 0) { -#if (__GNU_LIBRARY__ > 5) || defined(__dietlibc__) reboot(magic); -#else - reboot(0xfee1dead, 672274793, magic); -#endif _exit(0); } waitpid (pid, NULL, 0); |