diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-06-18 15:49:47 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-06-18 15:49:47 +0200 |
commit | 12ac6287eedf45d896557b95270a6e0323951917 (patch) | |
tree | de5833ccd888a768836df1353409f7b0f01501d2 /include | |
parent | da947607625bc5510ec56b27e04445db300f4418 (diff) | |
download | busybox-w32-12ac6287eedf45d896557b95270a6e0323951917.tar.gz busybox-w32-12ac6287eedf45d896557b95270a6e0323951917.tar.bz2 busybox-w32-12ac6287eedf45d896557b95270a6e0323951917.zip |
procps: remove PSSCAN_STAT define, users were using it incorrectly
Also contains small cleanups ps.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/libbb.h b/include/libbb.h index 5d2b4c8c1..2cac7e60c 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1545,13 +1545,6 @@ enum { | |||
1545 | PSSCAN_NICE = (1 << 20) * ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS, | 1545 | PSSCAN_NICE = (1 << 20) * ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS, |
1546 | PSSCAN_RUIDGID = (1 << 21) * ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS, | 1546 | PSSCAN_RUIDGID = (1 << 21) * ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS, |
1547 | PSSCAN_TASKS = (1 << 22) * ENABLE_FEATURE_SHOW_THREADS, | 1547 | PSSCAN_TASKS = (1 << 22) * ENABLE_FEATURE_SHOW_THREADS, |
1548 | /* These are all retrieved from proc/NN/stat in one go: */ | ||
1549 | PSSCAN_STAT = PSSCAN_PPID | PSSCAN_PGID | PSSCAN_SID | ||
1550 | /**/ | PSSCAN_COMM | PSSCAN_STATE | ||
1551 | /**/ | PSSCAN_VSZ | PSSCAN_RSS | ||
1552 | /**/ | PSSCAN_STIME | PSSCAN_UTIME | PSSCAN_START_TIME | ||
1553 | /**/ | PSSCAN_TTY | PSSCAN_NICE | ||
1554 | /**/ | PSSCAN_CPU | ||
1555 | }; | 1548 | }; |
1556 | //procps_status_t* alloc_procps_scan(void) FAST_FUNC; | 1549 | //procps_status_t* alloc_procps_scan(void) FAST_FUNC; |
1557 | void free_procps_scan(procps_status_t* sp) FAST_FUNC; | 1550 | void free_procps_scan(procps_status_t* sp) FAST_FUNC; |