aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-05-31 22:42:12 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-05-31 22:42:12 +0000
commit4ab25db9aad167a3a3be5a3764d63d44d14bfdac (patch)
tree5966d651dcb5588e24106791f9cd3647f358112b /coreutils
parent3ea433409694393b67dd9dee3b184268ab75ac56 (diff)
downloadbusybox-w32-4ab25db9aad167a3a3be5a3764d63d44d14bfdac.tar.gz
busybox-w32-4ab25db9aad167a3a3be5a3764d63d44d14bfdac.tar.bz2
busybox-w32-4ab25db9aad167a3a3be5a3764d63d44d14bfdac.zip
delete tons of extra #includes
git-svn-id: svn://busybox.net/trunk/busybox@18717 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 @@
18 * the command line. Properly round *-blocks, Used, and Available quantities. 18 * the command line. Properly round *-blocks, Used, and Available quantities.
19 */ 19 */
20 20
21#include <stdio.h>
22#include <stdlib.h>
23#include <string.h>
24#include <unistd.h>
25#include <mntent.h> 21#include <mntent.h>
26#include <sys/vfs.h> 22#include <sys/vfs.h>
27#include "libbb.h" 23#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 @@
14 */ 14 */
15 15
16#include "libbb.h" 16#include "libbb.h"
17#include <stdio.h>
18#include <unistd.h>
19#include <sys/types.h>
20 17
21#define PRINT_REAL 1 18#define PRINT_REAL 1
22#define NAME_NOT_NUMBER 2 19#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 @@
20 * 20 *
21 */ 21 */
22 22
23#include <sys/types.h>
24#include <sys/stat.h>
25#include <unistd.h>
26#include "libbb.h" 23#include "libbb.h"
27#include "coreutils.h" 24//#include "coreutils.h"
28 25
29mode_t getopt_mk_fifo_nod(int argc, char **argv) 26mode_t getopt_mk_fifo_nod(int argc, char **argv)
30{ 27{
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 @@
8 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. 8 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
9 */ 9 */
10 10
11#include <stdio.h>
12#include <string.h>
13#include <stdlib.h>
14#include "libbb.h" 11#include "libbb.h"
15extern char **environ; 12extern char **environ;
16 13
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 @@
30 * Now does proper error checking on i/o. Plus some further space savings. 30 * Now does proper error checking on i/o. Plus some further space savings.
31 */ 31 */
32 32
33#include <stdio.h>
34#include <stdlib.h>
35#include <stddef.h>
36#include <string.h>
37#include <unistd.h>
38#include <sys/types.h>
39#include <sys/utsname.h> 33#include <sys/utsname.h>
40#include "libbb.h" 34#include "libbb.h"
41 35