aboutsummaryrefslogtreecommitdiff
path: root/init/halt.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/halt.c')
-rw-r--r--init/halt.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/init/halt.c b/init/halt.c
index 47f1ef7b2..a84a72747 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -7,9 +7,9 @@
7 * Licensed under GPLv2, see file LICENSE in this source tree. 7 * Licensed under GPLv2, see file LICENSE in this source tree.
8 */ 8 */
9 9
10//applet:IF_HALT(APPLET(halt, _BB_DIR_SBIN, _BB_SUID_DROP)) 10//applet:IF_HALT(APPLET(halt, BB_DIR_SBIN, BB_SUID_DROP))
11//applet:IF_HALT(APPLET_ODDNAME(poweroff, halt, _BB_DIR_SBIN, _BB_SUID_DROP, poweroff)) 11//applet:IF_HALT(APPLET_ODDNAME(poweroff, halt, BB_DIR_SBIN, BB_SUID_DROP, poweroff))
12//applet:IF_HALT(APPLET_ODDNAME(reboot, halt, _BB_DIR_SBIN, _BB_SUID_DROP, reboot)) 12//applet:IF_HALT(APPLET_ODDNAME(reboot, halt, BB_DIR_SBIN, BB_SUID_DROP, reboot))
13 13
14//kbuild:lib-$(CONFIG_HALT) += halt.o 14//kbuild:lib-$(CONFIG_HALT) += halt.o
15 15
@@ -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
79static void write_wtmp(void) 78static void write_wtmp(void)
80{ 79{