aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2014-03-23 12:27:16 +0000
committerRon Yorston <rmy@pobox.com>2014-03-23 12:27:16 +0000
commitf29d074c6d17cddbc80bf5da924e8bbb43cfe507 (patch)
tree92fe1a01050f2a4055acfc421da95422cca4b269 /libbb
parent57a39c29392cec65c963f37a159d04f90277aad7 (diff)
downloadbusybox-w32-f29d074c6d17cddbc80bf5da924e8bbb43cfe507.tar.gz
busybox-w32-f29d074c6d17cddbc80bf5da924e8bbb43cfe507.tar.bz2
busybox-w32-f29d074c6d17cddbc80bf5da924e8bbb43cfe507.zip
ps: exclude more unused code
Diffstat (limited to 'libbb')
-rw-r--r--libbb/procps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/procps.c b/libbb/procps.c
index e2f54d730..3c99ac6e7 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -570,8 +570,6 @@ procps_status_t* FAST_FUNC procps_scan(procps_status_t* sp, int flags)
570 return sp; 570 return sp;
571} 571}
572 572
573#endif /* ENABLE_PLATFORM_MINGW32 */
574
575void FAST_FUNC read_cmdline(char *buf, int col, unsigned pid, const char *comm) 573void FAST_FUNC read_cmdline(char *buf, int col, unsigned pid, const char *comm)
576{ 574{
577 int sz; 575 int sz;
@@ -623,6 +621,8 @@ void FAST_FUNC read_cmdline(char *buf, int col, unsigned pid, const char *comm)
623 } 621 }
624} 622}
625 623
624#endif /* ENABLE_PLATFORM_MINGW32 */
625
626/* from kernel: 626/* from kernel:
627 // pid comm S ppid pgid sid tty_nr tty_pgrp flg 627 // pid comm S ppid pgid sid tty_nr tty_pgrp flg
628 sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \ 628 sprintf(buffer,"%d (%s) %c %d %d %d %d %d %lu %lu \