aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
parent57a39c29392cec65c963f37a159d04f90277aad7 (diff)
downloadbusybox-w32-f29d074c6d17cddbc80bf5da924e8bbb43cfe507.tar.gz
busybox-w32-f29d074c6d17cddbc80bf5da924e8bbb43cfe507.tar.bz2
busybox-w32-f29d074c6d17cddbc80bf5da924e8bbb43cfe507.zip
ps: exclude more unused code
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 1cc2a48b9..3b2bf0a0a 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1633,7 +1633,11 @@ void free_procps_scan(procps_status_t* sp) FAST_FUNC;
1633procps_status_t* procps_scan(procps_status_t* sp, int flags) FAST_FUNC; 1633procps_status_t* procps_scan(procps_status_t* sp, int flags) FAST_FUNC;
1634/* Format cmdline (up to col chars) into char buf[size] */ 1634/* Format cmdline (up to col chars) into char buf[size] */
1635/* Puts [comm] if cmdline is empty (-> process is a kernel thread) */ 1635/* Puts [comm] if cmdline is empty (-> process is a kernel thread) */
1636#if !ENABLE_PLATFORM_MINGW32
1636void read_cmdline(char *buf, int size, unsigned pid, const char *comm) FAST_FUNC; 1637void read_cmdline(char *buf, int size, unsigned pid, const char *comm) FAST_FUNC;
1638#else
1639#define read_cmdline(buf, size, pid, comm) snprintf(buf, size, "[%s]", comm)
1640#endif
1637pid_t *find_pid_by_name(const char* procName) FAST_FUNC; 1641pid_t *find_pid_by_name(const char* procName) FAST_FUNC;
1638pid_t *pidlist_reverse(pid_t *pidList) FAST_FUNC; 1642pid_t *pidlist_reverse(pid_t *pidList) FAST_FUNC;
1639int starts_with_cpu(const char *str) FAST_FUNC; 1643int starts_with_cpu(const char *str) FAST_FUNC;