diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-25 23:21:46 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-25 23:21:46 +0100 |
commit | 8d0e0cdadf726beab28ccdc7d69738c1534e1f74 (patch) | |
tree | 73eec58affb5ac0b6d8e97fb36e9f0beb11da00d /init | |
parent | 9aa599dc9dc076f6fa6e4312e4750a703cf16450 (diff) | |
download | busybox-w32-8d0e0cdadf726beab28ccdc7d69738c1534e1f74.tar.gz busybox-w32-8d0e0cdadf726beab28ccdc7d69738c1534e1f74.tar.bz2 busybox-w32-8d0e0cdadf726beab28ccdc7d69738c1534e1f74.zip |
move utmp.h include to libbb.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/halt.c | 1 | ||||
-rw-r--r-- | init/init.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/init/halt.c b/init/halt.c index f853ba4a1..a84a72747 100644 --- a/init/halt.c +++ b/init/halt.c | |||
@@ -74,7 +74,6 @@ | |||
74 | 74 | ||
75 | #if ENABLE_FEATURE_WTMP | 75 | #if ENABLE_FEATURE_WTMP |
76 | #include <sys/utsname.h> | 76 | #include <sys/utsname.h> |
77 | #include <utmp.h> | ||
78 | 77 | ||
79 | static void write_wtmp(void) | 78 | static void write_wtmp(void) |
80 | { | 79 | { |
diff --git a/init/init.c b/init/init.c index d8e180746..586e34a18 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -115,9 +115,6 @@ | |||
115 | #ifdef __linux__ | 115 | #ifdef __linux__ |
116 | #include <linux/vt.h> | 116 | #include <linux/vt.h> |
117 | #endif | 117 | #endif |
118 | #if ENABLE_FEATURE_UTMP | ||
119 | # include <utmp.h> /* DEAD_PROCESS */ | ||
120 | #endif | ||
121 | #include "reboot.h" /* reboot() constants */ | 118 | #include "reboot.h" /* reboot() constants */ |
122 | 119 | ||
123 | /* Used only for sanitizing purposes in set_sane_term() below. On systems where | 120 | /* Used only for sanitizing purposes in set_sane_term() below. On systems where |