diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 06:23:44 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 06:23:44 +0100 |
commit | f8f81ed7aaf90897fa9a4687dac75152740a71e2 (patch) | |
tree | a5c624d8187016e4369be0be2667a2f5de752d03 /procps/top.c | |
parent | f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541 (diff) | |
download | busybox-w32-f8f81ed7aaf90897fa9a4687dac75152740a71e2.tar.gz busybox-w32-f8f81ed7aaf90897fa9a4687dac75152740a71e2.tar.bz2 busybox-w32-f8f81ed7aaf90897fa9a4687dac75152740a71e2.zip |
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.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c index 6f7f7d382..c66cdb764 100644 --- a/procps/top.c +++ b/procps/top.c | |||
@@ -49,7 +49,6 @@ | |||
49 | * cp stat meminfo loadavg proc | 49 | * cp stat meminfo loadavg proc |
50 | * chroot . ./top -bn1 >top1.out | 50 | * chroot . ./top -bn1 >top1.out |
51 | */ | 51 | */ |
52 | |||
53 | //config:config TOP | 52 | //config:config TOP |
54 | //config: bool "top" | 53 | //config: bool "top" |
55 | //config: default y | 54 | //config: default y |
@@ -104,6 +103,10 @@ | |||
104 | //config: help | 103 | //config: help |
105 | //config: Enable 's' in top (gives lots of memory info). | 104 | //config: Enable 's' in top (gives lots of memory info). |
106 | 105 | ||
106 | //applet:IF_TOP(APPLET(top, BB_DIR_USR_BIN, BB_SUID_DROP)) | ||
107 | |||
108 | //kbuild:lib-$(CONFIG_TOP) += top.o | ||
109 | |||
107 | #include "libbb.h" | 110 | #include "libbb.h" |
108 | #include "common_bufsiz.h" | 111 | #include "common_bufsiz.h" |
109 | 112 | ||