aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/iostat.c1
-rw-r--r--procps/lsof.c1
-rw-r--r--procps/mpstat.c11
-rw-r--r--procps/nmeter.c1
-rw-r--r--procps/pmap.c2
-rw-r--r--procps/pwdx.c1
-rw-r--r--procps/smemcap.c9
-rw-r--r--procps/watch.c7
8 files changed, 13 insertions, 20 deletions
diff --git a/procps/iostat.c b/procps/iostat.c
index fbf685568..8fb4594da 100644
--- a/procps/iostat.c
+++ b/procps/iostat.c
@@ -6,7 +6,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
-
//config:config IOSTAT
//config: bool "iostat (7.4 kb)"
//config: default y
diff --git a/procps/lsof.c b/procps/lsof.c
index 8d3a23cc8..4917cf899 100644
--- a/procps/lsof.c
+++ b/procps/lsof.c
@@ -6,7 +6,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
-
//config:config LSOF
//config: bool "lsof (3.6 kb)"
//config: default y
diff --git a/procps/mpstat.c b/procps/mpstat.c
index acaff4dc0..7ead1fa7d 100644
--- a/procps/mpstat.c
+++ b/procps/mpstat.c
@@ -6,18 +6,17 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
-
-//applet:IF_MPSTAT(APPLET(mpstat, BB_DIR_BIN, BB_SUID_DROP))
-/* shouldn't be noexec: "mpstat INTERVAL" runs indefinitely */
-
-//kbuild:lib-$(CONFIG_MPSTAT) += mpstat.o
-
//config:config MPSTAT
//config: bool "mpstat (10 kb)"
//config: default y
//config: help
//config: Per-processor statistics
+//applet:IF_MPSTAT(APPLET(mpstat, BB_DIR_BIN, BB_SUID_DROP))
+/* shouldn't be noexec: "mpstat INTERVAL" runs indefinitely */
+
+//kbuild:lib-$(CONFIG_MPSTAT) += mpstat.o
+
#include "libbb.h"
#include <sys/utsname.h> /* struct utsname */
diff --git a/procps/nmeter.c b/procps/nmeter.c
index 9463f94dc..166c8ab18 100644
--- a/procps/nmeter.c
+++ b/procps/nmeter.c
@@ -5,7 +5,6 @@
*
* Contact me: vda.linux@googlemail.com
*/
-
//config:config NMETER
//config: bool "nmeter (10 kb)"
//config: default y
diff --git a/procps/pmap.c b/procps/pmap.c
index 5c2d1ad59..c8fa0d280 100644
--- a/procps/pmap.c
+++ b/procps/pmap.c
@@ -7,7 +7,6 @@
* Licensed under GPLv2 or later, see the LICENSE file in this source tree
* for details.
*/
-
//config:config PMAP
//config: bool "pmap (6 kb)"
//config: default y
@@ -15,6 +14,7 @@
//config: Display processes' memory mappings.
//applet:IF_PMAP(APPLET(pmap, BB_DIR_USR_BIN, BB_SUID_DROP))
+
//kbuild:lib-$(CONFIG_PMAP) += pmap.o
//usage:#define pmap_trivial_usage
diff --git a/procps/pwdx.c b/procps/pwdx.c
index c72cf804a..6009e2aa3 100644
--- a/procps/pwdx.c
+++ b/procps/pwdx.c
@@ -7,7 +7,6 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
-
//config:config PWDX
//config: bool "pwdx (3.5 kb)"
//config: default y
diff --git a/procps/smemcap.c b/procps/smemcap.c
index c15fef1c3..81f4cafad 100644
--- a/procps/smemcap.c
+++ b/procps/smemcap.c
@@ -7,11 +7,6 @@
the GNU General Public License version 2 or later, incorporated
herein by reference.
*/
-
-//applet:IF_SMEMCAP(APPLET(smemcap, BB_DIR_USR_BIN, BB_SUID_DROP))
-
-//kbuild:lib-$(CONFIG_SMEMCAP) += smemcap.o
-
//config:config SMEMCAP
//config: bool "smemcap (2.5 kb)"
//config: default y
@@ -19,6 +14,10 @@
//config: smemcap is a tool for capturing process data for smem,
//config: a memory usage statistic tool.
+//applet:IF_SMEMCAP(APPLET(smemcap, BB_DIR_USR_BIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_SMEMCAP) += smemcap.o
+
#include "libbb.h"
#include "bb_archive.h"
diff --git a/procps/watch.c b/procps/watch.c
index e58fd1f11..420e6d3d1 100644
--- a/procps/watch.c
+++ b/procps/watch.c
@@ -7,10 +7,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
-
-/* BB_AUDIT SUSv3 N/A */
-/* BB_AUDIT GNU defects -- only option -n is supported. */
-
//config:config WATCH
//config: bool "watch (4.1 kb)"
//config: default y
@@ -35,6 +31,9 @@
//usage: "Mon Dec 17 10:31:42 GMT 2000\n"
//usage: "Mon Dec 17 10:31:44 GMT 2000"
+/* BB_AUDIT SUSv3 N/A */
+/* BB_AUDIT GNU defects -- only option -n is supported. */
+
#include "libbb.h"
#define ESC "\033"