summaryrefslogtreecommitdiff
path: root/procps/top.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-11-23 06:23:44 +0100
committerDenys Vlasenko2016-11-23 06:23:44 +0100
commitf8f81ed7aaf90897fa9a4687dac75152740a71e2 (patch)
treea5c624d8187016e4369be0be2667a2f5de752d03 /procps/top.c
parentf88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541 (diff)
downloadbusybox-f8f81ed7aaf90897fa9a4687dac75152740a71e2.zip
busybox-f8f81ed7aaf90897fa9a4687dac75152740a71e2.tar.gz
Convert all procps/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/top.c')
-rw-r--r--procps/top.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index 6f7f7d3..c66cdb7 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -49,7 +49,6 @@
* cp stat meminfo loadavg proc
* chroot . ./top -bn1 >top1.out
*/
-
//config:config TOP
//config: bool "top"
//config: default y
@@ -104,6 +103,10 @@
//config: help
//config: Enable 's' in top (gives lots of memory info).
+//applet:IF_TOP(APPLET(top, BB_DIR_USR_BIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_TOP) += top.o
+
#include "libbb.h"
#include "common_bufsiz.h"