svn commit: trunk/busybox: coreutils loginutils modutils procps

vda at busybox.net vda at busybox.net
Tue Nov 25 13:33:12 UTC 2008


Author: vda
Date: 2008-11-25 05:33:11 -0800 (Tue, 25 Nov 2008)
New Revision: 24144

Log:
remove a few superfluous includes



Modified:
   trunk/busybox/coreutils/who.c
   trunk/busybox/loginutils/getty.c
   trunk/busybox/modutils/modutils.h
   trunk/busybox/procps/nmeter.c


Changeset:
Modified: trunk/busybox/coreutils/who.c
===================================================================
--- trunk/busybox/coreutils/who.c	2008-11-25 12:59:16 UTC (rev 24143)
+++ trunk/busybox/coreutils/who.c	2008-11-25 13:33:11 UTC (rev 24144)
@@ -20,7 +20,6 @@
 
 #include "libbb.h"
 #include <utmp.h>
-#include <time.h>
 
 static void idle_string(char *str6, time_t t)
 {

Modified: trunk/busybox/loginutils/getty.c
===================================================================
--- trunk/busybox/loginutils/getty.c	2008-11-25 12:59:16 UTC (rev 24143)
+++ trunk/busybox/loginutils/getty.c	2008-11-25 13:33:11 UTC (rev 24144)
@@ -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

Modified: trunk/busybox/modutils/modutils.h
===================================================================
--- trunk/busybox/modutils/modutils.h	2008-11-25 12:59:16 UTC (rev 24143)
+++ trunk/busybox/modutils/modutils.h	2008-11-25 13:33:11 UTC (rev 24144)
@@ -10,7 +10,6 @@
 #define __MODUTILS_H__
 
 #include "libbb.h"
-#include <stdio.h>
 
 #if __GNUC_PREREQ(4,1)
 # pragma GCC visibility push(hidden)

Modified: trunk/busybox/procps/nmeter.c
===================================================================
--- trunk/busybox/procps/nmeter.c	2008-11-25 12:59:16 UTC (rev 24143)
+++ trunk/busybox/procps/nmeter.c	2008-11-25 13:33:11 UTC (rev 24144)
@@ -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;




More information about the busybox-cvs mailing list