aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-11-25 13:33:11 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-11-25 13:33:11 +0000
commit9e0a7c9c414e3e155d965c8b8b1dfed42ca21ec5 (patch)
tree330395f985187a99bf6c84b1474e54e1285b8e49
parent61befda93b2ed2458c8db50d2d03cff453d36565 (diff)
downloadbusybox-9e0a7c9c414e3e155d965c8b8b1dfed42ca21ec5.tar.gz
busybox-9e0a7c9c414e3e155d965c8b8b1dfed42ca21ec5.tar.bz2
remove a few superfluous includes
-rw-r--r--coreutils/who.c1
-rw-r--r--loginutils/getty.c1
-rw-r--r--modutils/modutils.h1
-rw-r--r--procps/nmeter.c1
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 @@
#include "libbb.h"
#include <utmp.h>
-#include <time.h>
static void idle_string(char *str6, time_t t)
{
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 @@
*/
#ifdef LOGIN_PROCESS /* defined in System V utmp.h */
#include <sys/utsname.h>
-#include <time.h>
#else /* if !sysV style, wtmp/utmp code is off */
#undef ENABLE_FEATURE_UTMP
#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 @@
#define __MODUTILS_H__
#include "libbb.h"
-#include <stdio.h>
#if __GNUC_PREREQ(4,1)
# 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 @@
// totalram=2107416576, freeram=211525632, sharedram=0, bufferram=157204480}
// totalswap=134209536, freeswap=134209536, procs=157})
-#include <time.h>
#include "libbb.h"
typedef unsigned long long ullong;