diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-26 01:21:46 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-26 01:21:46 +0300 |
commit | 8d0e0cdadf726beab28ccdc7d69738c1534e1f74 (patch) | |
tree | 73eec58affb5ac0b6d8e97fb36e9f0beb11da00d /init | |
parent | 9aa599dc9dc076f6fa6e4312e4750a703cf16450 (diff) |
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 @@ #if ENABLE_FEATURE_WTMP #include <sys/utsname.h> -#include <utmp.h> static void write_wtmp(void) { 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 @@ #ifdef __linux__ #include <linux/vt.h> #endif -#if ENABLE_FEATURE_UTMP -# include <utmp.h> /* DEAD_PROCESS */ -#endif #include "reboot.h" /* reboot() constants */ /* Used only for sanitizing purposes in set_sane_term() below. On systems where |