aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/Config.src1
-rw-r--r--miscutils/conspy.c2
-rw-r--r--miscutils/last.c1
-rw-r--r--miscutils/last_fancy.c1
-rw-r--r--miscutils/nandwrite.c4
-rw-r--r--miscutils/runlevel.c1
-rw-r--r--miscutils/ubi_attach_detach.c4
-rw-r--r--miscutils/wall.c1
8 files changed, 5 insertions, 10 deletions
diff --git a/miscutils/Config.src b/miscutils/Config.src
index 4912daf88..da52e14c6 100644
--- a/miscutils/Config.src
+++ b/miscutils/Config.src
@@ -170,7 +170,6 @@ config FEATURE_CROND_DIR
170config CRONTAB 170config CRONTAB
171 bool "crontab" 171 bool "crontab"
172 default y 172 default y
173 select FEATURE_SUID
174 help 173 help
175 Crontab manipulates the crontab for a particular user. Only 174 Crontab manipulates the crontab for a particular user. Only
176 the superuser may specify a different user and/or crontab directory. 175 the superuser may specify a different user and/or crontab directory.
diff --git a/miscutils/conspy.c b/miscutils/conspy.c
index 723b4208a..721eb6d59 100644
--- a/miscutils/conspy.c
+++ b/miscutils/conspy.c
@@ -10,7 +10,7 @@
10 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 10 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
11 */ 11 */
12 12
13//applet:IF_CONSPY(APPLET(conspy, _BB_DIR_BIN, _BB_SUID_DROP)) 13//applet:IF_CONSPY(APPLET(conspy, BB_DIR_BIN, BB_SUID_DROP))
14 14
15//kbuild:lib-$(CONFIG_CONSPY) += conspy.o 15//kbuild:lib-$(CONFIG_CONSPY) += conspy.o
16 16
diff --git a/miscutils/last.c b/miscutils/last.c
index fec5b70a8..12457b157 100644
--- a/miscutils/last.c
+++ b/miscutils/last.c
@@ -8,7 +8,6 @@
8 */ 8 */
9 9
10#include "libbb.h" 10#include "libbb.h"
11#include <utmp.h>
12 11
13/* NB: ut_name and ut_user are the same field, use only one name (ut_user) 12/* NB: ut_name and ut_user are the same field, use only one name (ut_user)
14 * to reduce confusion */ 13 * to reduce confusion */
diff --git a/miscutils/last_fancy.c b/miscutils/last_fancy.c
index 7e69fc281..7e61b7691 100644
--- a/miscutils/last_fancy.c
+++ b/miscutils/last_fancy.c
@@ -8,7 +8,6 @@
8 */ 8 */
9 9
10#include "libbb.h" 10#include "libbb.h"
11#include <utmp.h>
12 11
13/* NB: ut_name and ut_user are the same field, use only one name (ut_user) 12/* NB: ut_name and ut_user are the same field, use only one name (ut_user)
14 * to reduce confusion */ 13 * to reduce confusion */
diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c
index 831d2f76b..c5e2fb841 100644
--- a/miscutils/nandwrite.c
+++ b/miscutils/nandwrite.c
@@ -8,8 +8,8 @@
8 * TODO: add support for large (>4GB) MTD devices 8 * TODO: add support for large (>4GB) MTD devices
9 */ 9 */
10 10
11//applet:IF_NANDWRITE(APPLET(nandwrite, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) 11//applet:IF_NANDWRITE(APPLET(nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP))
12//applet:IF_NANDWRITE(APPLET_ODDNAME(nanddump, nandwrite, _BB_DIR_USR_SBIN, _BB_SUID_DROP, nanddump)) 12//applet:IF_NANDWRITE(APPLET_ODDNAME(nanddump, nandwrite, BB_DIR_USR_SBIN, BB_SUID_DROP, nanddump))
13 13
14//kbuild:lib-$(CONFIG_NANDWRITE) += nandwrite.o 14//kbuild:lib-$(CONFIG_NANDWRITE) += nandwrite.o
15//kbuild:lib-$(CONFIG_NANDDUMP) += nandwrite.o 15//kbuild:lib-$(CONFIG_NANDDUMP) += nandwrite.o
diff --git a/miscutils/runlevel.c b/miscutils/runlevel.c
index 363e45049..7024361e7 100644
--- a/miscutils/runlevel.c
+++ b/miscutils/runlevel.c
@@ -12,7 +12,6 @@
12 * initially busyboxified by Bernhard Reutner-Fischer 12 * initially busyboxified by Bernhard Reutner-Fischer
13 */ 13 */
14#include "libbb.h" 14#include "libbb.h"
15#include <utmp.h>
16 15
17int runlevel_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 16int runlevel_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
18int runlevel_main(int argc UNUSED_PARAM, char **argv) 17int runlevel_main(int argc UNUSED_PARAM, char **argv)
diff --git a/miscutils/ubi_attach_detach.c b/miscutils/ubi_attach_detach.c
index b74d97b68..aa8a5171a 100644
--- a/miscutils/ubi_attach_detach.c
+++ b/miscutils/ubi_attach_detach.c
@@ -3,8 +3,8 @@
3 * Licensed under GPLv2, see file LICENSE in this source tree. 3 * Licensed under GPLv2, see file LICENSE in this source tree.
4 */ 4 */
5 5
6//applet:IF_UBIATTACH(APPLET_ODDNAME(ubiattach, ubi_attach_detach, _BB_DIR_USR_SBIN, _BB_SUID_DROP, ubiattach)) 6//applet:IF_UBIATTACH(APPLET_ODDNAME(ubiattach, ubi_attach_detach, BB_DIR_USR_SBIN, BB_SUID_DROP, ubiattach))
7//applet:IF_UBIDETACH(APPLET_ODDNAME(ubidetach, ubi_attach_detach, _BB_DIR_USR_SBIN, _BB_SUID_DROP, ubidetach)) 7//applet:IF_UBIDETACH(APPLET_ODDNAME(ubidetach, ubi_attach_detach, BB_DIR_USR_SBIN, BB_SUID_DROP, ubidetach))
8 8
9//kbuild:lib-$(CONFIG_UBIATTACH) += ubi_attach_detach.o 9//kbuild:lib-$(CONFIG_UBIATTACH) += ubi_attach_detach.o
10//kbuild:lib-$(CONFIG_UBIDETACH) += ubi_attach_detach.o 10//kbuild:lib-$(CONFIG_UBIDETACH) += ubi_attach_detach.o
diff --git a/miscutils/wall.c b/miscutils/wall.c
index eecfc166b..0a2b89e5e 100644
--- a/miscutils/wall.c
+++ b/miscutils/wall.c
@@ -7,7 +7,6 @@
7 */ 7 */
8 8
9#include "libbb.h" 9#include "libbb.h"
10#include <utmp.h>
11 10
12int wall_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 11int wall_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
13int wall_main(int argc UNUSED_PARAM, char **argv) 12int wall_main(int argc UNUSED_PARAM, char **argv)