Consolidate #include <sys/time.h> so libbb.h does it.
authorRob Landley <rob@landley.net>
Sat, 27 May 2006 21:42:58 +0000 (21:42 -0000)
committerRob Landley <rob@landley.net>
Sat, 27 May 2006 21:42:58 +0000 (21:42 -0000)
40 files changed:
coreutils/date.c
coreutils/dos2unix.c
coreutils/nice.c
e2fsprogs/e2fsck.h
e2fsprogs/ext2fs/bmove.c
e2fsprogs/uuid/gen_uuid.c
e2fsprogs/uuid/uuid.h
e2fsprogs/uuid/uuid_time.c
editors/vi.c
include/libbb.h
init/init.c
loginutils/login.c
loginutils/su.c
loginutils/sulogin.c
miscutils/adjtimex.c
miscutils/devfsd.c
miscutils/hdparm.c
miscutils/time.c
networking/arping.c
networking/fakeidentd.c
networking/ftpgetput.c
networking/httpd.c
networking/inetd.c
networking/nc.c
networking/ping.c
networking/ping6.c
networking/telnet.c
networking/telnetd.c
networking/tftp.c
networking/traceroute.c
networking/udhcp/arpping.c
networking/udhcp/dhcpc.c
networking/udhcp/dhcpd.c
networking/wget.c
networking/zcip.c
procps/renice.c
procps/top.c
shell/ash.c
util-linux/hwclock.c
util-linux/rdate.c

index 401d2ffb7d1c1490698c26ab5abbb1dba347d7e5..a922eb96c54c94bbc70e43bfe9ae13ce8b0bf167 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <stdlib.h>
 #include <errno.h>
-#include <sys/time.h>
 #include <unistd.h>
 #include <time.h>
 #include <stdio.h>
index c5021f9d066487feb67434249ef6b0341e1817b1..cf98c4fed395aa8d9b2d70c2dbedf01fac602d1b 100644 (file)
@@ -15,7 +15,6 @@
 #include <unistd.h>
 #include <stdint.h>
 #include <fcntl.h>
-#include <sys/time.h>
 #include "busybox.h"
 
 #define CT_UNIX2DOS     1
index 449184dabbf02742ba819d4ae4980509323ce8e4..e8cee6cefc44f2d81f90b723c4393d5d0c4ea842 100644 (file)
@@ -26,7 +26,6 @@
 #include <limits.h>
 #include <errno.h>
 #include <unistd.h>
-#include <sys/time.h>
 #include <sys/resource.h>
 #include "busybox.h"
 
index 43080d24e11aee31c84d440033542edfde33252a..b480d8fa5978bcc27b7e70520916fada0d7ef8d7 100644 (file)
@@ -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>
index afc2710223d809eb94b2896b8e0ac181e2078b91..8db90516414398f64d0292d6a9b32520e27d9322 100644 (file)
@@ -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"
index d847774980a06ba0beaf0710d0c62d5aba9df1cb..24eb852ef16295f5525898a15fd056dbceeaf4bd 100644 (file)
@@ -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
index cd97a5e78c090b40797d3ef74fcf832eebdcba4e..95602c9db7db9eee6b7f29322e8a2003f4790a76 100644 (file)
@@ -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];
index 9ff3607d862a1d6021e8c7154c2041100064de5f..51f87de22ce4a665bc82d44fef83f5d290339e29 100644 (file)
@@ -38,7 +38,6 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <sys/types.h>
-#include <sys/time.h>
 #include <time.h>
 
 #include "uuidP.h"
index 7d54978301ab876d81100933dd9d0518a20fe806..1e8f3835d4277dd7ea8f67ad48bee5ead8c98e66 100644 (file)
@@ -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>
index 3bb663bb5f4a56b7a6abd376483947124a67e289..fdb20227d00bbed0f9c5350a742b5ae7cdf9ca27 100644 (file)
@@ -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>
index b0443d09588b6d6eae8f6465bc90b921392973ef..ec3c4d7cf34a18837619135ee1f886e9bc7cbbcd 100644 (file)
@@ -91,7 +91,6 @@ struct serial_struct {
  */
 #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))
index b1367327b381447c29a0a93f3e589461005c3fa6..46c4ade56fad7f0f81c7bd2062e99ccf1312eb07 100644 (file)
@@ -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>
index b0227787ad3095c386da60ea50d38650c468c220..a6fcd739f4d87c1185bbc4a5e128da420d94a3d3 100644 (file)
@@ -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>
index 8c5d88a62e3970642723fc25fa5d92ec3e7aab0d..66f8f0160cbc76a29101d7a5e19cc386f83f4934 100644 (file)
@@ -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>
index 4a242cfb753c55d14530272324bcc2ad0da57397..b5e87ba6eb1aa9c668e1dbfa327682b781cfc270 100644 (file)
@@ -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"
 
index f99a9462892b7f8188d4c269d295d4b36bf2c116..aa682dc0dfbb7c7e5f51cf7d107806990c17956f 100644 (file)
@@ -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>
index 6a8149841c681fe27d7113c0f6b5d7938f5a05ae..7511f35a3eb467549ce014253ebeccedea68178f 100644 (file)
@@ -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>
index 89c48547a240d1a1931643a9fcdf7774e7516f9b..0a2fb7748f286b84f8a711867142334587b9d742 100644 (file)
@@ -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.  */
index 303e499355398f26c033f9776d0b37ceeeb24749..e12fa508b41c004c75784250f188bbbfe6dae748 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <sys/ioctl.h>
 #include <signal.h>
-#include <sys/time.h>
 
 #include <errno.h>
 #include <stdlib.h>
index cae6b813821a790a31afe0fc2a55a088ac5e4195..d3aa3ce5dc7d78d2443451c7c4c71dc54e36d56c 100644 (file)
@@ -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>
index a401ec50ac4c6dfa32f1e52012f67d1fce558d49..48b18b53688fe95540ad1f8fe47c5500579a0fa4 100644 (file)
@@ -15,7 +15,6 @@
 
 #include <sys/types.h>
 #include <sys/ioctl.h>
-#include <sys/time.h>
 #include <sys/stat.h>
 
 #include <ctype.h>
index 1d8c893f2603d065877c8bb7473a935de8c867c8..4cd09448cf90305c3563cac1b96cd62f6bf02bcd 100644 (file)
@@ -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        */
index 39a2b24cb9fce8d8ba68fb3e552d857985df4ad8..3ecd322921b2c6b1cc6006306fbcccf6153a7054 100644 (file)
 #include <sys/un.h>
 #include <sys/file.h>
 #include <sys/wait.h>
-#include <sys/time.h>
 #include <sys/resource.h>
 
 
index 637e97572378b60f6355c04cf9396d5ff2703a4d..24f1aa5a540dbfa61b14ded43b907841de5eafb0 100644 (file)
@@ -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"
 
index 7fe52ab39e005408bdcf8afcf46ebfe329554a0a..d9d76bf34c95e2b4d1f68ef6ade4f6c9935e1ade 100644 (file)
@@ -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>
 
index 3f632e06050f15d526da1a60f5b0f678870fb709..1cff59d4b1ca0869e0c2baa0070580926bfc5c09 100644 (file)
@@ -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>
 
index b3045f87850931ef4e0897446ea7b2c594c0e9cd..c835c7a4525b2450fdc820428e4cdc551614852c 100644 (file)
@@ -45,13 +45,6 @@ enum { DOTRACE = 1 };
 #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
 
index d51560bfb97ed18d6bb3d5f74206c3d5c01c105a..5a11ffb8c6acb2c5086a86ce68030b54b00ec03a 100644 (file)
@@ -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>
index b830f18a58d5351ddfe5ec6b19100804f4d427e5..bdba16727bf27da7dc62c7d6330285be0f8ea3b2 100644 (file)
@@ -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>
index e0f17a57f319f5b37ff8f5f7173a072c85a7835c..190f19ddc0d52f8667f0d78d4eba82108af72e8d 100644 (file)
 #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"
 
index df626f1595324f9af2fcbd9a0a9910aac8e1c493..b029af9bf77882102f6668d4803d9b7e91a0926c 100644 (file)
@@ -5,7 +5,6 @@
  * by Yoichi Hariguchi <yoichi@fore.com>
  */
 
-#include <sys/time.h>
 #include <time.h>
 #include <sys/socket.h>
 #include <netinet/if_ether.h>
index 222bd6519b5335815562c4b5325f0e80476e2d96..1d9ab6db6d39826ec43f4fdef8858e0bc4f7b09d 100644 (file)
@@ -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>
index 28acb6bcc6ed247d4da689b4ffe0f14dc3d27e69..6c5a753ebb744defd2e04590c51e3cf893106b45 100644 (file)
@@ -34,7 +34,6 @@
 #include <errno.h>
 #include <sys/ioctl.h>
 #include <time.h>
-#include <sys/time.h>
 
 #include "dhcpd.h"
 #include "arpping.h"
index d55f4b0077030ab00d2c52cc2143c5bb8d338f3a..fdcc68df31ffcb5459e03af70e4445861c4770b8 100644 (file)
@@ -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>
index ed30bb33ad46e37ce8dbd5b034b640ac82ed0451..b5a904d469493da5056fa3fe6e7b7e4b364e041e 100644 (file)
@@ -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>
index d4ce66d2e97dfa274cec5868a15959b7a3c30c32..711ed164ec9bc90d97d4893d89404643e7b8e6c6 100644 (file)
@@ -38,7 +38,6 @@
 #include <limits.h>
 #include <errno.h>
 #include <unistd.h>
-#include <sys/time.h>
 #include <sys/resource.h>
 #include "busybox.h"
 
index 691b4ea7e924c66b6f007bbed1a90e8388eeef82..c0d16b658f1cd5c4289fca7f0228745088171285 100644 (file)
@@ -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 @@ static void clearmems(void)
 
 #ifdef CONFIG_FEATURE_USE_TERMIOS
 #include <termios.h>
-#include <sys/time.h>
 #include <signal.h>
 
 
index 33eaf9227d51b74ba30feded2f700859581b9433..c8ccf19b5c31abd4d5b166bb29f861aa5b78ec0c 100644 (file)
@@ -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>
index 3d7f40026b853a06b22cc449cbf9c763deeab7c2..e1a67f290d15ec6361e6414cef9c8c74eae663dd 100644 (file)
@@ -9,7 +9,6 @@
 
 
 #include <sys/ioctl.h>
-#include <sys/time.h>
 #include <sys/utsname.h>
 #include <ctype.h>
 #include <fcntl.h>
index 2b011ebb0c42f43dac1e572af829825154e280af..27bd1b48168f5148a6b700ca0a32ffb8bb5156b7 100644 (file)
@@ -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>