diff options
Diffstat (limited to 'procps')
-rw-r--r-- | procps/free.c | 7 | ||||
-rw-r--r-- | procps/kill.c | 18 | ||||
-rw-r--r-- | procps/ps.c | 8 |
3 files changed, 0 insertions, 33 deletions
diff --git a/procps/free.c b/procps/free.c index 7c9d7f10a..78298cfb6 100644 --- a/procps/free.c +++ b/procps/free.c | |||
@@ -25,13 +25,6 @@ | |||
25 | #include <stdio.h> | 25 | #include <stdio.h> |
26 | #include <errno.h> | 26 | #include <errno.h> |
27 | 27 | ||
28 | const char free_usage[] = | ||
29 | "free\n" | ||
30 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
31 | "\nDisplays the amount of free and used system memory\n" | ||
32 | #endif | ||
33 | ; | ||
34 | |||
35 | extern int free_main(int argc, char **argv) | 28 | extern int free_main(int argc, char **argv) |
36 | { | 29 | { |
37 | struct sysinfo info; | 30 | struct sysinfo info; |
diff --git a/procps/kill.c b/procps/kill.c index 44cb38395..da46620dd 100644 --- a/procps/kill.c +++ b/procps/kill.c | |||
@@ -31,24 +31,6 @@ | |||
31 | #include <sys/stat.h> | 31 | #include <sys/stat.h> |
32 | #include <unistd.h> | 32 | #include <unistd.h> |
33 | 33 | ||
34 | static const char *kill_usage = | ||
35 | "kill [-signal] process-id [process-id ...]\n" | ||
36 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
37 | "\nSend a signal (default is SIGTERM) to the specified process(es).\n\n" | ||
38 | "Options:\n" "\t-l\tList all signal names and numbers.\n\n" | ||
39 | #endif | ||
40 | ; | ||
41 | |||
42 | #ifdef BB_KILLALL | ||
43 | static const char *killall_usage = | ||
44 | "killall [-signal] process-name [process-name ...]\n" | ||
45 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
46 | "\nSend a signal (default is SIGTERM) to the specified process(es).\n\n" | ||
47 | "Options:\n" "\t-l\tList all signal names and numbers.\n\n" | ||
48 | #endif | ||
49 | #endif | ||
50 | ; | ||
51 | |||
52 | #define KILL 0 | 34 | #define KILL 0 |
53 | #define KILLALL 1 | 35 | #define KILLALL 1 |
54 | 36 | ||
diff --git a/procps/ps.c b/procps/ps.c index 74e79f5f8..fc58a9bb7 100644 --- a/procps/ps.c +++ b/procps/ps.c | |||
@@ -114,14 +114,6 @@ static void parse_proc_status(char *S, proc_t * P) | |||
114 | 114 | ||
115 | } | 115 | } |
116 | 116 | ||
117 | const char ps_usage[] = | ||
118 | "ps\n" | ||
119 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
120 | "\nReport process status\n" | ||
121 | "\nThis version of ps accepts no options.\n" | ||
122 | #endif | ||
123 | ; | ||
124 | |||
125 | extern int ps_main(int argc, char **argv) | 117 | extern int ps_main(int argc, char **argv) |
126 | { | 118 | { |
127 | proc_t p; | 119 | proc_t p; |