summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorDenys Vlasenko2011-01-25 23:21:46 +0100
committerDenys Vlasenko2011-01-25 23:21:46 +0100
commit8d0e0cdadf726beab28ccdc7d69738c1534e1f74 (patch)
tree73eec58affb5ac0b6d8e97fb36e9f0beb11da00d /init
parent9aa599dc9dc076f6fa6e4312e4750a703cf16450 (diff)
downloadbusybox-8d0e0cdadf726beab28ccdc7d69738c1534e1f74.zip
busybox-8d0e0cdadf726beab28ccdc7d69738c1534e1f74.tar.gz
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.c1
-rw-r--r--init/init.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/init/halt.c b/init/halt.c
index f853ba4..a84a727 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 d8e1807..586e34a 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