diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-25 13:33:11 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-25 13:33:11 +0000 |
commit | 9e0a7c9c414e3e155d965c8b8b1dfed42ca21ec5 (patch) | |
tree | 330395f985187a99bf6c84b1474e54e1285b8e49 | |
parent | 61befda93b2ed2458c8db50d2d03cff453d36565 (diff) | |
download | busybox-w32-9e0a7c9c414e3e155d965c8b8b1dfed42ca21ec5.tar.gz busybox-w32-9e0a7c9c414e3e155d965c8b8b1dfed42ca21ec5.tar.bz2 busybox-w32-9e0a7c9c414e3e155d965c8b8b1dfed42ca21ec5.zip |
remove a few superfluous includes
-rw-r--r-- | coreutils/who.c | 1 | ||||
-rw-r--r-- | loginutils/getty.c | 1 | ||||
-rw-r--r-- | modutils/modutils.h | 1 | ||||
-rw-r--r-- | procps/nmeter.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/coreutils/who.c b/coreutils/who.c index baf526b01..85a0025c3 100644 --- a/coreutils/who.c +++ b/coreutils/who.c | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #include "libbb.h" | 21 | #include "libbb.h" |
22 | #include <utmp.h> | 22 | #include <utmp.h> |
23 | #include <time.h> | ||
24 | 23 | ||
25 | static void idle_string(char *str6, time_t t) | 24 | static void idle_string(char *str6, time_t t) |
26 | { | 25 | { |
diff --git a/loginutils/getty.c b/loginutils/getty.c index 0f536888b..8bae0df45 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c | |||
@@ -28,7 +28,6 @@ | |||
28 | */ | 28 | */ |
29 | #ifdef LOGIN_PROCESS /* defined in System V utmp.h */ | 29 | #ifdef LOGIN_PROCESS /* defined in System V utmp.h */ |
30 | #include <sys/utsname.h> | 30 | #include <sys/utsname.h> |
31 | #include <time.h> | ||
32 | #else /* if !sysV style, wtmp/utmp code is off */ | 31 | #else /* if !sysV style, wtmp/utmp code is off */ |
33 | #undef ENABLE_FEATURE_UTMP | 32 | #undef ENABLE_FEATURE_UTMP |
34 | #undef ENABLE_FEATURE_WTMP | 33 | #undef ENABLE_FEATURE_WTMP |
diff --git a/modutils/modutils.h b/modutils/modutils.h index ddd4e1790..6aaf79daa 100644 --- a/modutils/modutils.h +++ b/modutils/modutils.h | |||
@@ -10,7 +10,6 @@ | |||
10 | #define __MODUTILS_H__ | 10 | #define __MODUTILS_H__ |
11 | 11 | ||
12 | #include "libbb.h" | 12 | #include "libbb.h" |
13 | #include <stdio.h> | ||
14 | 13 | ||
15 | #if __GNUC_PREREQ(4,1) | 14 | #if __GNUC_PREREQ(4,1) |
16 | # pragma GCC visibility push(hidden) | 15 | # pragma GCC visibility push(hidden) |
diff --git a/procps/nmeter.c b/procps/nmeter.c index 068c739fb..0358ccd3b 100644 --- a/procps/nmeter.c +++ b/procps/nmeter.c | |||
@@ -17,7 +17,6 @@ | |||
17 | // totalram=2107416576, freeram=211525632, sharedram=0, bufferram=157204480} | 17 | // totalram=2107416576, freeram=211525632, sharedram=0, bufferram=157204480} |
18 | // totalswap=134209536, freeswap=134209536, procs=157}) | 18 | // totalswap=134209536, freeswap=134209536, procs=157}) |
19 | 19 | ||
20 | #include <time.h> | ||
21 | #include "libbb.h" | 20 | #include "libbb.h" |
22 | 21 | ||
23 | typedef unsigned long long ullong; | 22 | typedef unsigned long long ullong; |