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 baf526b01e1dfb2e4abd41162f7da6261de3acca..85a0025c3393a8ebdd4725bf4346bff6a08d7766 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 0f536888bdc7265355d3b52e2716407083afd576..8bae0df452f4b3b8905abfd2a7845107affb9697 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 ddd4e1790cc7714b2dd1cb135b440cd91df468bd..6aaf79daac3627ea530feb85aab989eaf1faeda9 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 068c739fb8efeb062c0c2131d42341ba6ffab1af..0358ccd3b9c254e9d8786328f44c8aab868d7e55 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;