summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko2007-05-31 22:42:12 +0000
committerDenis Vlasenko2007-05-31 22:42:12 +0000
commit9a7d38fe2448617df98ecaea7dbe6f3131088586 (patch)
tree5966d651dcb5588e24106791f9cd3647f358112b /coreutils
parentfad2b86c9e7eaadb973b50a1bc0e2accc1a96cfd (diff)
downloadbusybox-9a7d38fe2448617df98ecaea7dbe6f3131088586.zip
busybox-9a7d38fe2448617df98ecaea7dbe6f3131088586.tar.gz
delete tons of extra #includes
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 d455d27..8273080 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 064bd29..9dd5b48 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 32fa9be..5065c38 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 0e69ff2..2531d5a 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 d4188cd..a934c15 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"