diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-01 02:42:12 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-01 02:42:12 +0400 |
commit | 9a7d38fe2448617df98ecaea7dbe6f3131088586 (patch) | |
tree | 5966d651dcb5588e24106791f9cd3647f358112b /coreutils | |
parent | fad2b86c9e7eaadb973b50a1bc0e2accc1a96cfd (diff) |
delete tons of extra #includes
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/df.c | 4 | ||||
-rw-r--r-- | coreutils/id.c | 3 | ||||
-rw-r--r-- | coreutils/libcoreutils/getopt_mk_fifo_nod.c | 5 | ||||
-rw-r--r-- | coreutils/printenv.c | 3 | ||||
-rw-r--r-- | coreutils/uname.c | 6 |
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" |