summaryrefslogtreecommitdiffhomepage
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/free.c5
-rw-r--r--procps/pidof.c11
-rw-r--r--procps/ps.c15
-rw-r--r--procps/uptime.c6
4 files changed, 4 insertions, 33 deletions
diff --git a/procps/free.c b/procps/free.c
index 7d8ffa893..84432e0d1 100644
--- a/procps/free.c
+++ b/procps/free.c
@@ -4,15 +4,12 @@
*
* Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
*
- * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
+ * Licensed under the GPL version 2, see the file LICENSE in this tarball.
*/
/* getopt not needed */
#include "busybox.h"
-#include <stdio.h>
-#include <errno.h>
-#include <stdlib.h>
int free_main(int argc, char **argv)
{
diff --git a/procps/pidof.c b/procps/pidof.c
index 5b28f3b86..c686245ea 100644
--- a/procps/pidof.c
+++ b/procps/pidof.c
@@ -4,19 +4,10 @@
*
* Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
*
- * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
+ * Licensed under the GPL version 2, see the file LICENSE in this tarball.
*/
#include "busybox.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <unistd.h>
-#include <signal.h>
-#include <ctype.h>
-#include <string.h>
-#include <sys/types.h>
-#include <unistd.h>
#if ENABLE_FEATURE_PIDOF_SINGLE
#define _SINGLE_COMPL(a) a
diff --git a/procps/ps.c b/procps/ps.c
index e4accba3d..62571493d 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -4,23 +4,10 @@
*
* Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
*
- * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
+ * Licensed under the GPL version 2, see the file LICENSE in this tarball.
*/
#include "busybox.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <dirent.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <ctype.h>
-#include <string.h>
-#include <termios.h>
-#include <sys/ioctl.h>
-#if ENABLE_SELINUX
-#include <selinux/selinux.h> /* for is_selinux_enabled() */
-#endif
int ps_main(int argc, char **argv)
{
diff --git a/procps/uptime.c b/procps/uptime.c
index c1e7af3a5..37c9d449a 100644
--- a/procps/uptime.c
+++ b/procps/uptime.c
@@ -4,7 +4,7 @@
*
* Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
*
- * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
+ * Licensed under the GPL version 2, see the file LICENSE in this tarball.
*/
/* This version of uptime doesn't display the number of users on the system,
@@ -16,10 +16,6 @@
/* getopt not needed */
#include "busybox.h"
-#include <stdio.h>
-#include <time.h>
-#include <errno.h>
-#include <stdlib.h>
#ifndef FSHIFT
# define FSHIFT 16 /* nr of bits of precision */