aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/df.c4
-rw-r--r--coreutils/id.c3
-rw-r--r--coreutils/libcoreutils/getopt_mk_fifo_nod.c5
-rw-r--r--coreutils/printenv.c3
-rw-r--r--coreutils/uname.c6
5 files changed, 1 insertions, 20 deletions
diff --git a/coreutils/df.c b/coreutils/df.c
index d455d27f6..82730806e 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -18,10 +18,6 @@
* the command line. Properly round *-blocks, Used, and Available quantities.
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
#include <mntent.h>
#include <sys/vfs.h>
#include "libbb.h"
diff --git a/coreutils/id.c b/coreutils/id.c
index 064bd29d9..9dd5b48d3 100644
--- a/coreutils/id.c
+++ b/coreutils/id.c
@@ -14,9 +14,6 @@
*/
#include "libbb.h"
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/types.h>
#define PRINT_REAL 1
#define NAME_NOT_NUMBER 2
diff --git a/coreutils/libcoreutils/getopt_mk_fifo_nod.c b/coreutils/libcoreutils/getopt_mk_fifo_nod.c
index 32fa9bede..5065c3886 100644
--- a/coreutils/libcoreutils/getopt_mk_fifo_nod.c
+++ b/coreutils/libcoreutils/getopt_mk_fifo_nod.c
@@ -20,11 +20,8 @@
*
*/
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
#include "libbb.h"
-#include "coreutils.h"
+//#include "coreutils.h"
mode_t getopt_mk_fifo_nod(int argc, char **argv)
{
diff --git a/coreutils/printenv.c b/coreutils/printenv.c
index 0e69ff217..2531d5a23 100644
--- a/coreutils/printenv.c
+++ b/coreutils/printenv.c
@@ -8,9 +8,6 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
#include "libbb.h"
extern char **environ;
diff --git a/coreutils/uname.c b/coreutils/uname.c
index d4188cdae..a934c15f4 100644
--- a/coreutils/uname.c
+++ b/coreutils/uname.c
@@ -30,12 +30,6 @@
* Now does proper error checking on i/o. Plus some further space savings.
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <stddef.h>
-#include <string.h>
-#include <unistd.h>
-#include <sys/types.h>
#include <sys/utsname.h>
#include "libbb.h"