summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenys Vlasenko2011-06-18 15:49:47 +0200
committerDenys Vlasenko2011-06-18 15:49:47 +0200
commit12ac6287eedf45d896557b95270a6e0323951917 (patch)
treede5833ccd888a768836df1353409f7b0f01501d2 /include/libbb.h
parentda947607625bc5510ec56b27e04445db300f4418 (diff)
downloadbusybox-12ac6287eedf45d896557b95270a6e0323951917.zip
busybox-12ac6287eedf45d896557b95270a6e0323951917.tar.gz
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/libbb.h')
-rw-r--r--include/libbb.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 5d2b4c8..2cac7e6 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1545,13 +1545,6 @@ enum {
PSSCAN_NICE = (1 << 20) * ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS,
PSSCAN_RUIDGID = (1 << 21) * ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS,
PSSCAN_TASKS = (1 << 22) * ENABLE_FEATURE_SHOW_THREADS,
- /* These are all retrieved from proc/NN/stat in one go: */
- PSSCAN_STAT = PSSCAN_PPID | PSSCAN_PGID | PSSCAN_SID
- /**/ | PSSCAN_COMM | PSSCAN_STATE
- /**/ | PSSCAN_VSZ | PSSCAN_RSS
- /**/ | PSSCAN_STIME | PSSCAN_UTIME | PSSCAN_START_TIME
- /**/ | PSSCAN_TTY | PSSCAN_NICE
- /**/ | PSSCAN_CPU
};
//procps_status_t* alloc_procps_scan(void) FAST_FUNC;
void free_procps_scan(procps_status_t* sp) FAST_FUNC;