aboutsummaryrefslogtreecommitdiff
path: root/ps.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-27 08:24:39 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-27 08:24:39 +0000
commited3ef50c233ffb1b50ea0e7382a8e60b86491009 (patch)
treeecb05ce51890c2cf84ad036543a972ac812320c3 /ps.c
parentab050f5522e843bf08994685134adaaac7ffd392 (diff)
downloadbusybox-w32-ed3ef50c233ffb1b50ea0e7382a8e60b86491009.tar.gz
busybox-w32-ed3ef50c233ffb1b50ea0e7382a8e60b86491009.tar.bz2
busybox-w32-ed3ef50c233ffb1b50ea0e7382a8e60b86491009.zip
Fix header file usage -- there were many unnecessary header files included in
busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
Diffstat (limited to 'ps.c')
-rw-r--r--ps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ps.c b/ps.c
index cb4c21e32..aac064c2a 100644
--- a/ps.c
+++ b/ps.c
@@ -30,11 +30,13 @@
30 30
31#include "busybox.h" 31#include "busybox.h"
32#include <stdio.h> 32#include <stdio.h>
33#include <stdlib.h>
33#include <unistd.h> 34#include <unistd.h>
34#include <dirent.h> 35#include <dirent.h>
35#include <errno.h> 36#include <errno.h>
36#include <fcntl.h> 37#include <fcntl.h>
37#include <ctype.h> 38#include <ctype.h>
39#include <string.h>
38#include <sys/ioctl.h> 40#include <sys/ioctl.h>
39#define BB_DECLARE_EXTERN 41#define BB_DECLARE_EXTERN
40#define bb_need_help 42#define bb_need_help