aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2012-03-21 20:53:50 +0000
committerRon Yorston <rmy@pobox.com>2012-03-21 20:53:50 +0000
commitf6bad5ef766b0447158e3de2f55c35f1f6cecb58 (patch)
treef5ec7ac45234c25794c97f87e9a6daa8a551e57c /init
parent72394258b6509b40e0fa08594ac86215a558dfd8 (diff)
parent8d0e0cdadf726beab28ccdc7d69738c1534e1f74 (diff)
downloadbusybox-w32-f6bad5ef766b0447158e3de2f55c35f1f6cecb58.tar.gz
busybox-w32-f6bad5ef766b0447158e3de2f55c35f1f6cecb58.tar.bz2
busybox-w32-f6bad5ef766b0447158e3de2f55c35f1f6cecb58.zip
Merge commit '8d0e0cdadf726beab28ccdc7d69738c1534e1f74' into merge
Conflicts: include/platform.h libbb/Kbuild.src libbb/messages.c
Diffstat (limited to 'init')
-rw-r--r--init/bootchartd.c2
-rw-r--r--init/halt.c7
-rw-r--r--init/init.c7
-rw-r--r--init/mesg.c2
4 files changed, 7 insertions, 11 deletions
diff --git a/init/bootchartd.c b/init/bootchartd.c
index ac3f261c8..009e2690c 100644
--- a/init/bootchartd.c
+++ b/init/bootchartd.c
@@ -3,7 +3,7 @@
3 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 3 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
4 */ 4 */
5 5
6//applet:IF_BOOTCHARTD(APPLET(bootchartd, _BB_DIR_SBIN, _BB_SUID_DROP)) 6//applet:IF_BOOTCHARTD(APPLET(bootchartd, BB_DIR_SBIN, BB_SUID_DROP))
7 7
8//kbuild:lib-$(CONFIG_BOOTCHARTD) += bootchartd.o 8//kbuild:lib-$(CONFIG_BOOTCHARTD) += bootchartd.o
9 9
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{
diff --git a/init/init.c b/init/init.c
index a2cc3b5f5..586e34a18 100644
--- a/init/init.c
+++ b/init/init.c
@@ -9,8 +9,8 @@
9 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 9 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
10 */ 10 */
11 11
12//applet:IF_INIT(APPLET(init, _BB_DIR_SBIN, _BB_SUID_DROP)) 12//applet:IF_INIT(APPLET(init, BB_DIR_SBIN, BB_SUID_DROP))
13//applet:IF_FEATURE_INITRD(APPLET_ODDNAME(linuxrc, init, _BB_DIR_ROOT, _BB_SUID_DROP, linuxrc)) 13//applet:IF_FEATURE_INITRD(APPLET_ODDNAME(linuxrc, init, BB_DIR_ROOT, BB_SUID_DROP, linuxrc))
14 14
15//kbuild:lib-$(CONFIG_INIT) += init.o 15//kbuild:lib-$(CONFIG_INIT) += init.o
16 16
@@ -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
diff --git a/init/mesg.c b/init/mesg.c
index b6fd070e1..676ca2e24 100644
--- a/init/mesg.c
+++ b/init/mesg.c
@@ -7,7 +7,7 @@
7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
8 */ 8 */
9 9
10//applet:IF_MESG(APPLET(mesg, _BB_DIR_USR_BIN, _BB_SUID_DROP)) 10//applet:IF_MESG(APPLET(mesg, BB_DIR_USR_BIN, BB_SUID_DROP))
11 11
12//kbuild:lib-$(CONFIG_MESG) += mesg.o 12//kbuild:lib-$(CONFIG_MESG) += mesg.o
13 13