svn commit: trunk/busybox: coreutils e2fsprogs e2fsprogs/ext2fs e2f etc...

landley at busybox.net landley at busybox.net
Sat May 27 21:43:55 UTC 2006


Author: landley
Date: 2006-05-27 14:42:58 -0700 (Sat, 27 May 2006)
New Revision: 15203

Log:
Consolidate #include <sys/time.h> so libbb.h does it.


Modified:
   trunk/busybox/coreutils/date.c
   trunk/busybox/coreutils/dos2unix.c
   trunk/busybox/coreutils/nice.c
   trunk/busybox/e2fsprogs/e2fsck.h
   trunk/busybox/e2fsprogs/ext2fs/bmove.c
   trunk/busybox/e2fsprogs/uuid/gen_uuid.c
   trunk/busybox/e2fsprogs/uuid/uuid.h
   trunk/busybox/e2fsprogs/uuid/uuid_time.c
   trunk/busybox/editors/vi.c
   trunk/busybox/include/libbb.h
   trunk/busybox/init/init.c
   trunk/busybox/loginutils/login.c
   trunk/busybox/loginutils/su.c
   trunk/busybox/loginutils/sulogin.c
   trunk/busybox/miscutils/adjtimex.c
   trunk/busybox/miscutils/devfsd.c
   trunk/busybox/miscutils/hdparm.c
   trunk/busybox/miscutils/time.c
   trunk/busybox/networking/arping.c
   trunk/busybox/networking/fakeidentd.c
   trunk/busybox/networking/ftpgetput.c
   trunk/busybox/networking/httpd.c
   trunk/busybox/networking/inetd.c
   trunk/busybox/networking/nc.c
   trunk/busybox/networking/ping.c
   trunk/busybox/networking/ping6.c
   trunk/busybox/networking/telnet.c
   trunk/busybox/networking/telnetd.c
   trunk/busybox/networking/tftp.c
   trunk/busybox/networking/traceroute.c
   trunk/busybox/networking/udhcp/arpping.c
   trunk/busybox/networking/udhcp/dhcpc.c
   trunk/busybox/networking/udhcp/dhcpd.c
   trunk/busybox/networking/wget.c
   trunk/busybox/networking/zcip.c
   trunk/busybox/procps/renice.c
   trunk/busybox/procps/top.c
   trunk/busybox/shell/ash.c
   trunk/busybox/util-linux/hwclock.c
   trunk/busybox/util-linux/rdate.c


Changeset:
Modified: trunk/busybox/coreutils/date.c
===================================================================
--- trunk/busybox/coreutils/date.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/coreutils/date.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -11,7 +11,6 @@
 
 #include <stdlib.h>
 #include <errno.h>
-#include <sys/time.h>
 #include <unistd.h>
 #include <time.h>
 #include <stdio.h>

Modified: trunk/busybox/coreutils/dos2unix.c
===================================================================
--- trunk/busybox/coreutils/dos2unix.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/coreutils/dos2unix.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -15,7 +15,6 @@
 #include <unistd.h>
 #include <stdint.h>
 #include <fcntl.h>
-#include <sys/time.h>
 #include "busybox.h"
 
 #define CT_UNIX2DOS     1

Modified: trunk/busybox/coreutils/nice.c
===================================================================
--- trunk/busybox/coreutils/nice.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/coreutils/nice.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -26,7 +26,6 @@
 #include <limits.h>
 #include <errno.h>
 #include <unistd.h>
-#include <sys/time.h>
 #include <sys/resource.h>
 #include "busybox.h"
 

Modified: trunk/busybox/e2fsprogs/e2fsck.h
===================================================================
--- trunk/busybox/e2fsprogs/e2fsck.h	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/e2fsprogs/e2fsck.h	2006-05-27 21:42:58 UTC (rev 15203)
@@ -14,7 +14,6 @@
 #include <stddef.h>
 #include <assert.h>
 #include <signal.h>
-#include <sys/time.h>
 #include <sys/stat.h>
 #include <sys/resource.h>
 #include <sys/param.h>

Modified: trunk/busybox/e2fsprogs/ext2fs/bmove.c
===================================================================
--- trunk/busybox/e2fsprogs/ext2fs/bmove.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/e2fsprogs/ext2fs/bmove.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -14,7 +14,6 @@
 #if HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
-#include <sys/time.h>
 
 #include "ext2_fs.h"
 #include "ext2fsP.h"

Modified: trunk/busybox/e2fsprogs/uuid/gen_uuid.c
===================================================================
--- trunk/busybox/e2fsprogs/uuid/gen_uuid.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/e2fsprogs/uuid/gen_uuid.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -38,7 +38,6 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <sys/types.h>
-#include <sys/time.h>
 #include <sys/stat.h>
 #include <sys/file.h>
 #ifdef HAVE_SYS_IOCTL_H

Modified: trunk/busybox/e2fsprogs/uuid/uuid.h
===================================================================
--- trunk/busybox/e2fsprogs/uuid/uuid.h	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/e2fsprogs/uuid/uuid.h	2006-05-27 21:42:58 UTC (rev 15203)
@@ -36,7 +36,6 @@
 #define _UUID_UUID_H
 
 #include <sys/types.h>
-#include <sys/time.h>
 #include <time.h>
 
 typedef unsigned char uuid_t[16];

Modified: trunk/busybox/e2fsprogs/uuid/uuid_time.c
===================================================================
--- trunk/busybox/e2fsprogs/uuid/uuid_time.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/e2fsprogs/uuid/uuid_time.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -38,7 +38,6 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <sys/types.h>
-#include <sys/time.h>
 #include <time.h>
 
 #include "uuidP.h"

Modified: trunk/busybox/editors/vi.c
===================================================================
--- trunk/busybox/editors/vi.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/editors/vi.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -57,7 +57,6 @@
 #include <termios.h>
 #include <unistd.h>
 #include <sys/ioctl.h>
-#include <sys/time.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <time.h>

Modified: trunk/busybox/include/libbb.h
===================================================================
--- trunk/busybox/include/libbb.h	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/include/libbb.h	2006-05-27 21:42:58 UTC (rev 15203)
@@ -24,6 +24,8 @@
 #include <netinet/in.h>
 #include <netdb.h>
 
+#include <sys/time.h>
+
 #include "bb_config.h"
 #ifdef CONFIG_SELINUX
 #include <selinux/selinux.h>

Modified: trunk/busybox/init/init.c
===================================================================
--- trunk/busybox/init/init.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/init/init.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -91,7 +91,6 @@
  */
 #define CORE_ENABLE_FLAG_FILE "/.init_enable_core"
 #include <sys/resource.h>
-#include <sys/time.h>
 #endif
 
 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

Modified: trunk/busybox/loginutils/login.c
===================================================================
--- trunk/busybox/loginutils/login.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/loginutils/login.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -10,7 +10,6 @@
 #include <utmp.h>
 #include <sys/resource.h>
 #include <sys/stat.h>
-#include <sys/time.h>
 #include <sys/types.h>
 #include <ctype.h>
 #include <time.h>

Modified: trunk/busybox/loginutils/su.c
===================================================================
--- trunk/busybox/loginutils/su.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/loginutils/su.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -14,7 +14,6 @@
 #include <utmp.h>
 #include <sys/resource.h>
 #include <sys/stat.h>
-#include <sys/time.h>
 #include <sys/types.h>
 #include <ctype.h>
 #include <time.h>

Modified: trunk/busybox/loginutils/sulogin.c
===================================================================
--- trunk/busybox/loginutils/sulogin.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/loginutils/sulogin.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -9,7 +9,6 @@
 #include <utmp.h>
 #include <sys/resource.h>
 #include <sys/stat.h>
-#include <sys/time.h>
 #include <sys/types.h>
 #include <ctype.h>
 #include <time.h>

Modified: trunk/busybox/miscutils/adjtimex.c
===================================================================
--- trunk/busybox/miscutils/adjtimex.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/miscutils/adjtimex.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -44,7 +44,6 @@
 #include <sys/types.h>
 #include <stdlib.h>
 #include <unistd.h>
-#include <sys/time.h>
 #include <sys/timex.h>
 #include "busybox.h"
 

Modified: trunk/busybox/miscutils/devfsd.c
===================================================================
--- trunk/busybox/miscutils/devfsd.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/miscutils/devfsd.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -57,7 +57,6 @@
 #include <stdarg.h>
 #include <string.h>
 #include <ctype.h>
-#include <sys/time.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/wait.h>

Modified: trunk/busybox/miscutils/hdparm.c
===================================================================
--- trunk/busybox/miscutils/hdparm.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/miscutils/hdparm.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -20,7 +20,6 @@
 #include <endian.h>
 #include <sys/ioctl.h>
 #include <sys/sysmacros.h>
-#include <sys/time.h>
 #include <sys/times.h>
 #include <sys/mount.h>
 #include <sys/mman.h>

Modified: trunk/busybox/miscutils/time.c
===================================================================
--- trunk/busybox/miscutils/time.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/miscutils/time.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -29,7 +29,6 @@
 #include <string.h>
 #include <limits.h>
 #include <unistd.h>
-#include <sys/time.h>
 #include <sys/types.h>		/* For pid_t. */
 #include <sys/wait.h>
 #include <sys/param.h>		/* For getpagesize, maybe.  */

Modified: trunk/busybox/networking/arping.c
===================================================================
--- trunk/busybox/networking/arping.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/arping.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -10,7 +10,6 @@
 
 #include <sys/ioctl.h>
 #include <signal.h>
-#include <sys/time.h>
 
 #include <errno.h>
 #include <stdlib.h>

Modified: trunk/busybox/networking/fakeidentd.c
===================================================================
--- trunk/busybox/networking/fakeidentd.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/fakeidentd.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -23,7 +23,6 @@
 
 #include <sys/syslog.h>
 #include <sys/types.h>
-#include <sys/time.h>
 #include <time.h>
 #include <sys/socket.h>
 #include <netinet/in.h>

Modified: trunk/busybox/networking/ftpgetput.c
===================================================================
--- trunk/busybox/networking/ftpgetput.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/ftpgetput.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -15,7 +15,6 @@
 
 #include <sys/types.h>
 #include <sys/ioctl.h>
-#include <sys/time.h>
 #include <sys/stat.h>
 
 #include <ctype.h>

Modified: trunk/busybox/networking/httpd.c
===================================================================
--- trunk/busybox/networking/httpd.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/httpd.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -99,7 +99,6 @@
 #include <sys/types.h>
 #include <sys/socket.h>    /* for connect and socket*/
 #include <netinet/in.h>    /* for sockaddr_in       */
-#include <sys/time.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
 #include <fcntl.h>         /* for open modes        */

Modified: trunk/busybox/networking/inetd.c
===================================================================
--- trunk/busybox/networking/inetd.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/inetd.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -134,7 +134,6 @@
 #include <sys/un.h>
 #include <sys/file.h>
 #include <sys/wait.h>
-#include <sys/time.h>
 #include <sys/resource.h>
 
 

Modified: trunk/busybox/networking/nc.c
===================================================================
--- trunk/busybox/networking/nc.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/nc.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -24,7 +24,6 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>
-#include <sys/time.h>
 #include <sys/ioctl.h>
 #include "busybox.h"
 

Modified: trunk/busybox/networking/ping.c
===================================================================
--- trunk/busybox/networking/ping.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/ping.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -15,7 +15,6 @@
 #include <sys/param.h>
 #include <sys/socket.h>
 #include <sys/file.h>
-#include <sys/time.h>
 #include <sys/times.h>
 #include <signal.h>
 

Modified: trunk/busybox/networking/ping6.c
===================================================================
--- trunk/busybox/networking/ping6.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/ping6.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -37,7 +37,6 @@
 #include <sys/param.h>
 #include <sys/socket.h>
 #include <sys/file.h>
-#include <sys/time.h>
 #include <sys/times.h>
 #include <signal.h>
 

Modified: trunk/busybox/networking/telnet.c
===================================================================
--- trunk/busybox/networking/telnet.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/telnet.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -45,13 +45,6 @@
 #define TRACE(x, y)
 #endif
 
-#if 0
-#define USE_POLL
-#include <sys/poll.h>
-#else
-#include <sys/time.h>
-#endif
-
 #define DATABUFSIZE  128
 #define IACBUFSIZE   128
 

Modified: trunk/busybox/networking/telnetd.c
===================================================================
--- trunk/busybox/networking/telnetd.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/telnetd.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -24,7 +24,6 @@
 /*#define DEBUG 1 */
 #undef DEBUG
 
-#include <sys/time.h>
 #include <sys/socket.h>
 #include <sys/wait.h>
 #include <sys/ioctl.h>

Modified: trunk/busybox/networking/tftp.c
===================================================================
--- trunk/busybox/networking/tftp.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/tftp.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -24,7 +24,6 @@
 #include <string.h>
 #include <sys/types.h>
 #include <sys/socket.h>
-#include <sys/time.h>
 #include <sys/stat.h>
 #include <netdb.h>
 #include <netinet/in.h>

Modified: trunk/busybox/networking/traceroute.c
===================================================================
--- trunk/busybox/networking/traceroute.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/traceroute.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -218,7 +218,6 @@
 #include <sys/file.h>
 #include <sys/ioctl.h>
 #include <sys/socket.h>
-#include <sys/time.h>                           /* concession to AIX */
 #include <sys/select.h>
 #include "inet_common.h"
 

Modified: trunk/busybox/networking/udhcp/arpping.c
===================================================================
--- trunk/busybox/networking/udhcp/arpping.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/udhcp/arpping.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -5,7 +5,6 @@
  * by Yoichi Hariguchi <yoichi at fore.com>
  */
 
-#include <sys/time.h>
 #include <time.h>
 #include <sys/socket.h>
 #include <netinet/if_ether.h>

Modified: trunk/busybox/networking/udhcp/dhcpc.c
===================================================================
--- trunk/busybox/networking/udhcp/dhcpc.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/udhcp/dhcpc.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -7,7 +7,6 @@
  * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  */
 
-#include <sys/time.h>
 #include <sys/file.h>
 #include <unistd.h>
 #include <getopt.h>

Modified: trunk/busybox/networking/udhcp/dhcpd.c
===================================================================
--- trunk/busybox/networking/udhcp/dhcpd.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/udhcp/dhcpd.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -34,7 +34,6 @@
 #include <errno.h>
 #include <sys/ioctl.h>
 #include <time.h>
-#include <sys/time.h>
 
 #include "dhcpd.h"
 #include "arpping.h"

Modified: trunk/busybox/networking/wget.c
===================================================================
--- trunk/busybox/networking/wget.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/wget.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -17,7 +17,6 @@
 #include <signal.h>
 #include <sys/ioctl.h>
 
-#include <sys/time.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/socket.h>

Modified: trunk/busybox/networking/zcip.c
===================================================================
--- trunk/busybox/networking/zcip.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/networking/zcip.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -38,7 +38,6 @@
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/wait.h>
-#include <sys/time.h>
 #include <sys/socket.h>
 
 #include <arpa/inet.h>

Modified: trunk/busybox/procps/renice.c
===================================================================
--- trunk/busybox/procps/renice.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/procps/renice.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -38,7 +38,6 @@
 #include <limits.h>
 #include <errno.h>
 #include <unistd.h>
-#include <sys/time.h>
 #include <sys/resource.h>
 #include "busybox.h"
 

Modified: trunk/busybox/procps/top.c
===================================================================
--- trunk/busybox/procps/top.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/procps/top.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -40,7 +40,6 @@
 
 #ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
 #include <time.h>
-#include <sys/time.h>
 #include <fcntl.h>
 #include <netinet/in.h>  /* htons */
 #endif
@@ -370,7 +369,6 @@
 
 #ifdef CONFIG_FEATURE_USE_TERMIOS
 #include <termios.h>
-#include <sys/time.h>
 #include <signal.h>
 
 

Modified: trunk/busybox/shell/ash.c
===================================================================
--- trunk/busybox/shell/ash.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/shell/ash.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -58,7 +58,6 @@
 #include <sys/param.h>
 #include <sys/resource.h>
 #include <sys/stat.h>
-#include <sys/time.h>
 #include <sys/wait.h>
 
 #include <stdio.h>

Modified: trunk/busybox/util-linux/hwclock.c
===================================================================
--- trunk/busybox/util-linux/hwclock.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/util-linux/hwclock.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -9,7 +9,6 @@
 
 
 #include <sys/ioctl.h>
-#include <sys/time.h>
 #include <sys/utsname.h>
 #include <ctype.h>
 #include <fcntl.h>

Modified: trunk/busybox/util-linux/rdate.c
===================================================================
--- trunk/busybox/util-linux/rdate.c	2006-05-27 21:30:34 UTC (rev 15202)
+++ trunk/busybox/util-linux/rdate.c	2006-05-27 21:42:58 UTC (rev 15203)
@@ -8,7 +8,6 @@
  * Licensed under GPL v2 or later, see file License for details.
 */
 
-#include <sys/time.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>




More information about the busybox-cvs mailing list