remove a few superfluous includes
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 25 Nov 2008 13:33:11 +0000 (13:33 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 25 Nov 2008 13:33:11 +0000 (13:33 -0000)
coreutils/who.c
loginutils/getty.c
modutils/modutils.h
procps/nmeter.c

index baf526b..85a0025 100644 (file)
@@ -20,7 +20,6 @@
 
 #include "libbb.h"
 #include <utmp.h>
-#include <time.h>
 
 static void idle_string(char *str6, time_t t)
 {
index 0f53688..8bae0df 100644 (file)
@@ -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
index ddd4e17..6aaf79d 100644 (file)
@@ -10,7 +10,6 @@
 #define __MODUTILS_H__
 
 #include "libbb.h"
-#include <stdio.h>
 
 #if __GNUC_PREREQ(4,1)
 # pragma GCC visibility push(hidden)
index 068c739..0358ccd 100644 (file)
@@ -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;