Some #include updates.
authorEric Andersen <andersen@codepoet.org>
Thu, 10 Aug 2000 17:59:11 +0000 (17:59 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 10 Aug 2000 17:59:11 +0000 (17:59 -0000)
 -Erik

53 files changed:
applets/busybox.c
archival/gunzip.c
archival/gzip.c
busybox.c
console-tools/dumpkmap.c
console-tools/loadacm.c
console-tools/loadfont.c
coreutils/date.c
coreutils/df.c
coreutils/ls.c
coreutils/mkfifo.c
coreutils/mknod.c
coreutils/printf.c
coreutils/tail.c
coreutils/test.c
coreutils/touch.c
date.c
df.c
dumpkmap.c
dutmp.c
findutils/which.c
freeramdisk.c
fsck_minix.c
gunzip.c
gzip.c
kill.c
loadacm.c
loadfont.c
logger.c
ls.c
makedevs.c
miscutils/dutmp.c
miscutils/makedevs.c
mkfifo.c
mkfs_minix.c
mknod.c
mkswap.c
nfsmount.c
printf.c
procps/kill.c
sysklogd/logger.c
sysklogd/syslogd.c
syslogd.c
tail.c
test.c
touch.c
util-linux/freeramdisk.c
util-linux/fsck_minix.c
util-linux/mkfs_minix.c
util-linux/mkswap.c
util-linux/nfsmount.c
utility.c
which.c

index 1ed44ed9b692bd6bdfb6e6158f33171dbc938a7e..2a05e1551c642bc5f8b92e06c45e1045df72cf01 100644 (file)
@@ -32,7 +32,7 @@ const struct BB_applet applets[] = {
        {"chown", chmod_chown_chgrp_main, _BB_DIR_BIN, chown_usage},
 #endif
 #ifdef BB_CHROOT
-       {"chroot", chroot_main, _BB_DIR_SBIN, chroot_usage},
+       {"chroot", chroot_main, _BB_DIR_USR_SBIN, chroot_usage},
 #endif
 #ifdef BB_CLEAR
        {"clear", clear_main, _BB_DIR_USR_BIN, clear_usage},
@@ -65,7 +65,7 @@ const struct BB_applet applets[] = {
        {"dmesg", dmesg_main, _BB_DIR_BIN, dmesg_usage},
 #endif
 #ifdef BB_DU
-       {"du", du_main, _BB_DIR_BIN, du_usage},
+       {"du", du_main, _BB_DIR_USR_BIN, du_usage},
 #endif
 #ifdef BB_DUMPKMAP
        {"dumpkmap", dumpkmap_main, _BB_DIR_BIN, dumpkmap_usage},
@@ -251,7 +251,7 @@ const struct BB_applet applets[] = {
        {"sleep", sleep_main, _BB_DIR_BIN, sleep_usage},
 #endif
 #ifdef BB_SORT
-       {"sort", sort_main, _BB_DIR_BIN, sort_usage},
+       {"sort", sort_main, _BB_DIR_USR_BIN, sort_usage},
 #endif
 #ifdef BB_SYNC
        {"sync", sync_main, _BB_DIR_BIN, sync_usage},
@@ -278,7 +278,7 @@ const struct BB_applet applets[] = {
        {"test", test_main, _BB_DIR_USR_BIN, test_usage},
 #endif
 #ifdef BB_TEE
-       {"tee", tee_main, _BB_DIR_BIN, tee_usage},
+       {"tee", tee_main, _BB_DIR_USR_BIN, tee_usage},
 #endif
 #ifdef BB_TOUCH
        {"touch", touch_main, _BB_DIR_USR_BIN, touch_usage},
index 330dee3357fc6ee71afcedfb592cbf4c638eef99..20af97aed2c5e05b455f90b8c2093976153bf8b1 100644 (file)
@@ -94,7 +94,6 @@ static char *license_msg[] = {
 #include <ctype.h>
 #include <sys/types.h>
 #include <signal.h>
-#include <sys/stat.h>
 #include <errno.h>
 
 /* #include "tailor.h" */
index 19ad1a72900ec28045b72c499ab4dca1002b02e4..591b8cc7fa0bc611fbeae95a5f92dc6f5e2aff99 100644 (file)
@@ -1609,7 +1609,6 @@ ulg deflate()
 #include <ctype.h>
 #include <sys/types.h>
 #include <signal.h>
-#include <sys/stat.h>
 #include <errno.h>
 
                /* configuration */
index 1ed44ed9b692bd6bdfb6e6158f33171dbc938a7e..2a05e1551c642bc5f8b92e06c45e1045df72cf01 100644 (file)
--- a/busybox.c
+++ b/busybox.c
@@ -32,7 +32,7 @@ const struct BB_applet applets[] = {
        {"chown", chmod_chown_chgrp_main, _BB_DIR_BIN, chown_usage},
 #endif
 #ifdef BB_CHROOT
-       {"chroot", chroot_main, _BB_DIR_SBIN, chroot_usage},
+       {"chroot", chroot_main, _BB_DIR_USR_SBIN, chroot_usage},
 #endif
 #ifdef BB_CLEAR
        {"clear", clear_main, _BB_DIR_USR_BIN, clear_usage},
@@ -65,7 +65,7 @@ const struct BB_applet applets[] = {
        {"dmesg", dmesg_main, _BB_DIR_BIN, dmesg_usage},
 #endif
 #ifdef BB_DU
-       {"du", du_main, _BB_DIR_BIN, du_usage},
+       {"du", du_main, _BB_DIR_USR_BIN, du_usage},
 #endif
 #ifdef BB_DUMPKMAP
        {"dumpkmap", dumpkmap_main, _BB_DIR_BIN, dumpkmap_usage},
@@ -251,7 +251,7 @@ const struct BB_applet applets[] = {
        {"sleep", sleep_main, _BB_DIR_BIN, sleep_usage},
 #endif
 #ifdef BB_SORT
-       {"sort", sort_main, _BB_DIR_BIN, sort_usage},
+       {"sort", sort_main, _BB_DIR_USR_BIN, sort_usage},
 #endif
 #ifdef BB_SYNC
        {"sync", sync_main, _BB_DIR_BIN, sync_usage},
@@ -278,7 +278,7 @@ const struct BB_applet applets[] = {
        {"test", test_main, _BB_DIR_USR_BIN, test_usage},
 #endif
 #ifdef BB_TEE
-       {"tee", tee_main, _BB_DIR_BIN, tee_usage},
+       {"tee", tee_main, _BB_DIR_USR_BIN, tee_usage},
 #endif
 #ifdef BB_TOUCH
        {"touch", touch_main, _BB_DIR_USR_BIN, touch_usage},
index 4ce6e8698071a7a99cbce4e3e98e8b8810bd0738..13b7d8937f82eb4d2c901ef39847d44529ed5148 100644 (file)
@@ -81,7 +81,7 @@ int dumpkmap_main(int argc, char **argv)
                                        errorMsg("ioctl returned: %s, %s, %s, %xqq\n",strerror(errno),(char *)&ke.kb_index,(char *)&ke.kb_table,(int)&ke.kb_value);
                                        }
                                else {
-                                       write(1,&ke.kb_value,2);        
+                                       write(1,(void*)&ke.kb_value,2); 
                                        }       
                                
                        }
index 2d70ffc5d206323ab7b512bdd9b0b62d98e7784d..7f669bf0834d3eb2bd6d332d1ae8882347112fbd 100644 (file)
@@ -18,7 +18,6 @@
 #include <errno.h>
 #include <signal.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <sys/kd.h>
 
index 622142925a53ace8a342fdfaf2335841737a2b37..927c2bad47012018ccadb80609b8ab63245380de 100644 (file)
@@ -15,7 +15,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <dirent.h>
 #include <errno.h>
 #include <sys/ioctl.h>
index e0f0f3129cf3bde0b11d5b6f04f7b82cdac20320..571a556257eccb476591c61ea5684e4643e1c21f 100644 (file)
@@ -31,6 +31,7 @@
 #include <unistd.h>
 #include <time.h>
 #include <stdio.h>
+#include <getopt.h>
 
 
 /* This 'date' command supports only 2 time setting formats, 
index 714c799654c03ccf329f3a0c72622cf253f0c30c..d8f8b7739855b2f80e1ef81bd760f26d0ea2d928 100644 (file)
@@ -25,7 +25,6 @@
 #include "internal.h"
 #include <stdio.h>
 #include <mntent.h>
-#include <sys/stat.h>
 #include <sys/vfs.h>
 
 extern const char mtab_file[]; /* Defined in utility.c */
index e56e3bcfb038023015dd7c64e8d3c0b84c9433f8..d7455f427d6501b90dea00429ea8db7d49b93297 100644 (file)
@@ -50,7 +50,6 @@
 
 #include "internal.h"
 # include <sys/types.h>
-#include <sys/stat.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <dirent.h>
index 3db17bbbcf323c9ad1eeabd564c888b2af6f36f0..5d4126ac07008a824c9c44d583e764207c9f1086 100644 (file)
@@ -23,7 +23,6 @@
 #include "internal.h"
 #include <stdio.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <errno.h>
 
 extern int mkfifo_main(int argc, char **argv)
index b51c8f3e3f66b4a511a8de2e7f99f405113703a6..b815aa1984b221361250daf5ec8360406107e342 100644 (file)
@@ -24,7 +24,6 @@
 #include <stdio.h>
 #include <errno.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
 
index 6a87fc319902afbddfaf16118c6a6235e77bb076..94b809348d753d3c84d2baaba0c160b57db1aeb1 100644 (file)
@@ -51,7 +51,6 @@
 #include <unistd.h>
 #include <stdio.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <string.h>
 #include <errno.h>
 #include <stdlib.h>
index 627373bfd5112f9f4ca04a76faf18410f9bce59b..6c4a6f46881b36ad12029eef20926d572f47a855 100644 (file)
@@ -32,7 +32,6 @@
 
  */
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
index 818b3db1279ba208762708eae5d9d90c29bf2fd9..6dde718c76eb9cbd31129a88d570618dddba3ba6 100644 (file)
@@ -33,7 +33,6 @@
 
 #include "internal.h"
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <unistd.h>
 #include <ctype.h>
 #include <errno.h>
index afdd265f742e82ca66a526114b2c9c7743a08e4b..464aedb551401e85ab3b44b0624390abb1ddc50e 100644 (file)
@@ -25,7 +25,6 @@
 #include "internal.h"
 #include <stdio.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <utime.h>
 #include <errno.h>
diff --git a/date.c b/date.c
index e0f0f3129cf3bde0b11d5b6f04f7b82cdac20320..571a556257eccb476591c61ea5684e4643e1c21f 100644 (file)
--- a/date.c
+++ b/date.c
@@ -31,6 +31,7 @@
 #include <unistd.h>
 #include <time.h>
 #include <stdio.h>
+#include <getopt.h>
 
 
 /* This 'date' command supports only 2 time setting formats, 
diff --git a/df.c b/df.c
index 714c799654c03ccf329f3a0c72622cf253f0c30c..d8f8b7739855b2f80e1ef81bd760f26d0ea2d928 100644 (file)
--- a/df.c
+++ b/df.c
@@ -25,7 +25,6 @@
 #include "internal.h"
 #include <stdio.h>
 #include <mntent.h>
-#include <sys/stat.h>
 #include <sys/vfs.h>
 
 extern const char mtab_file[]; /* Defined in utility.c */
index 4ce6e8698071a7a99cbce4e3e98e8b8810bd0738..13b7d8937f82eb4d2c901ef39847d44529ed5148 100644 (file)
@@ -81,7 +81,7 @@ int dumpkmap_main(int argc, char **argv)
                                        errorMsg("ioctl returned: %s, %s, %s, %xqq\n",strerror(errno),(char *)&ke.kb_index,(char *)&ke.kb_table,(int)&ke.kb_value);
                                        }
                                else {
-                                       write(1,&ke.kb_value,2);        
+                                       write(1,(void*)&ke.kb_value,2); 
                                        }       
                                
                        }
diff --git a/dutmp.c b/dutmp.c
index 047b8805fdbec60527b44b328f659c06ec085eff..5a6eb076b6ec84adc95c934542bea42d8598d9f3 100644 (file)
--- a/dutmp.c
+++ b/dutmp.c
@@ -14,7 +14,6 @@
 
 #include "internal.h"
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 
 #include <errno.h>
index 943e10a5744dba68acf23aec5111c3e6a9b45ba7..b3fd934d7a7dc99498f5841619f251f6c630b458 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "internal.h"
 #include <stdio.h>
-#include <sys/stat.h>
 #include <sys/param.h>
 
 extern int which_main(int argc, char **argv)
index 2da2427c1abbd221ceac8d1f8e6e37452a5d2555..64915b313251dcdba33e6ccc094a1287d6bdbe28 100644 (file)
@@ -24,7 +24,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include <errno.h>
index f980fe9ea7c7a19f87fc62556d85b6a5edddde59..bc92f20b7721317ba9ae52755dea86d8efb70c94 100644 (file)
@@ -96,7 +96,6 @@
 #include <stdlib.h>
 #include <termios.h>
 #include <mntent.h>
-#include <sys/stat.h>
 #include <sys/param.h>
 
  
index 330dee3357fc6ee71afcedfb592cbf4c638eef99..20af97aed2c5e05b455f90b8c2093976153bf8b1 100644 (file)
--- a/gunzip.c
+++ b/gunzip.c
@@ -94,7 +94,6 @@ static char *license_msg[] = {
 #include <ctype.h>
 #include <sys/types.h>
 #include <signal.h>
-#include <sys/stat.h>
 #include <errno.h>
 
 /* #include "tailor.h" */
diff --git a/gzip.c b/gzip.c
index 19ad1a72900ec28045b72c499ab4dca1002b02e4..591b8cc7fa0bc611fbeae95a5f92dc6f5e2aff99 100644 (file)
--- a/gzip.c
+++ b/gzip.c
@@ -1609,7 +1609,6 @@ ulg deflate()
 #include <ctype.h>
 #include <sys/types.h>
 #include <signal.h>
-#include <sys/stat.h>
 #include <errno.h>
 
                /* configuration */
diff --git a/kill.c b/kill.c
index da46620dd462ddb8fba6db92a391b7473e6f1fd4..dc48d4337cdfc781c867a1149dbb131bb6bac974 100644 (file)
--- a/kill.c
+++ b/kill.c
@@ -28,7 +28,6 @@
 #include <unistd.h>
 #include <signal.h>
 #include <ctype.h>
-#include <sys/stat.h>
 #include <unistd.h>
 
 #define KILL   0
index 2d70ffc5d206323ab7b512bdd9b0b62d98e7784d..7f669bf0834d3eb2bd6d332d1ae8882347112fbd 100644 (file)
--- a/loadacm.c
+++ b/loadacm.c
@@ -18,7 +18,6 @@
 #include <errno.h>
 #include <signal.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <sys/kd.h>
 
index 622142925a53ace8a342fdfaf2335841737a2b37..927c2bad47012018ccadb80609b8ab63245380de 100644 (file)
@@ -15,7 +15,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <dirent.h>
 #include <errno.h>
 #include <sys/ioctl.h>
index 0e1ce8dce7e439539d2d1e966d6033f3bdcae042..f4a0f82fb0e02010bbe9a84fbd3bf24b5f671677 100644 (file)
--- a/logger.c
+++ b/logger.c
@@ -25,7 +25,6 @@
 #include <stdio.h>
 #include <unistd.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <ctype.h>
 
diff --git a/ls.c b/ls.c
index e56e3bcfb038023015dd7c64e8d3c0b84c9433f8..d7455f427d6501b90dea00429ea8db7d49b93297 100644 (file)
--- a/ls.c
+++ b/ls.c
@@ -50,7 +50,6 @@
 
 #include "internal.h"
 # include <sys/types.h>
-#include <sys/stat.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <dirent.h>
index 99dbc0bd5f4294b74ecc3aafb1db4647dc8f9893..c9802cca7748eecf01c7d127aa401c26bf939a0a 100644 (file)
@@ -14,7 +14,6 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 
 int makedevs_main(int argc, char **argv)
 {
index 047b8805fdbec60527b44b328f659c06ec085eff..5a6eb076b6ec84adc95c934542bea42d8598d9f3 100644 (file)
@@ -14,7 +14,6 @@
 
 #include "internal.h"
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 
 #include <errno.h>
index 99dbc0bd5f4294b74ecc3aafb1db4647dc8f9893..c9802cca7748eecf01c7d127aa401c26bf939a0a 100644 (file)
@@ -14,7 +14,6 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 
 int makedevs_main(int argc, char **argv)
 {
index 3db17bbbcf323c9ad1eeabd564c888b2af6f36f0..5d4126ac07008a824c9c44d583e764207c9f1086 100644 (file)
--- a/mkfifo.c
+++ b/mkfifo.c
@@ -23,7 +23,6 @@
 #include "internal.h"
 #include <stdio.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <errno.h>
 
 extern int mkfifo_main(int argc, char **argv)
index 240dfded0349e482f32c380924bc272e187acecb..1bbccd978ad02cded8518b3f5ed7663aef5224c0 100644 (file)
@@ -72,7 +72,6 @@
 #include <ctype.h>
 #include <stdlib.h>
 #include <termios.h>
-#include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <sys/param.h>
 #include <mntent.h>
diff --git a/mknod.c b/mknod.c
index b51c8f3e3f66b4a511a8de2e7f99f405113703a6..b815aa1984b221361250daf5ec8360406107e342 100644 (file)
--- a/mknod.c
+++ b/mknod.c
@@ -24,7 +24,6 @@
 #include <stdio.h>
 #include <errno.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
 
index eacd8816cdcc6ddce520eb8f496f6132052caf59..70028dc2ec392fc59240342605c909998f1f4a35 100644 (file)
--- a/mkswap.c
+++ b/mkswap.c
@@ -43,7 +43,6 @@
 #include <stdlib.h>
 #include <sys/ioctl.h>                 /* for _IO */
 #include <sys/utsname.h>
-#include <sys/stat.h>
 #include <asm/page.h>                  /* for PAGE_SIZE and PAGE_SHIFT */
                                /* we also get PAGE_SIZE via getpagesize() */
 
index 5c29b5f6b56768aaa2d522b249d60dfc495032cb..628772b1bdd6b233e5a31675a22191a7eead7878 100644 (file)
@@ -47,7 +47,6 @@
 #include <sys/socket.h>
 #include <sys/time.h>
 #include <sys/utsname.h>
-#include <sys/stat.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 
index 6a87fc319902afbddfaf16118c6a6235e77bb076..94b809348d753d3c84d2baaba0c160b57db1aeb1 100644 (file)
--- a/printf.c
+++ b/printf.c
@@ -51,7 +51,6 @@
 #include <unistd.h>
 #include <stdio.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <string.h>
 #include <errno.h>
 #include <stdlib.h>
index da46620dd462ddb8fba6db92a391b7473e6f1fd4..dc48d4337cdfc781c867a1149dbb131bb6bac974 100644 (file)
@@ -28,7 +28,6 @@
 #include <unistd.h>
 #include <signal.h>
 #include <ctype.h>
-#include <sys/stat.h>
 #include <unistd.h>
 
 #define KILL   0
index 0e1ce8dce7e439539d2d1e966d6033f3bdcae042..f4a0f82fb0e02010bbe9a84fbd3bf24b5f671677 100644 (file)
@@ -25,7 +25,6 @@
 #include <stdio.h>
 #include <unistd.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <ctype.h>
 
index 508a6572b49379dd79779a05580cec5950b1de39..dfc933dbf36ee051c7536118a10f64baa1395712 100644 (file)
@@ -36,7 +36,6 @@
 #include <time.h>
 #include <unistd.h>
 #include <sys/socket.h>
-#include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/un.h>
 #include <sys/param.h>
index 508a6572b49379dd79779a05580cec5950b1de39..dfc933dbf36ee051c7536118a10f64baa1395712 100644 (file)
--- a/syslogd.c
+++ b/syslogd.c
@@ -36,7 +36,6 @@
 #include <time.h>
 #include <unistd.h>
 #include <sys/socket.h>
-#include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/un.h>
 #include <sys/param.h>
diff --git a/tail.c b/tail.c
index 627373bfd5112f9f4ca04a76faf18410f9bce59b..6c4a6f46881b36ad12029eef20926d572f47a855 100644 (file)
--- a/tail.c
+++ b/tail.c
@@ -32,7 +32,6 @@
 
  */
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
diff --git a/test.c b/test.c
index 818b3db1279ba208762708eae5d9d90c29bf2fd9..6dde718c76eb9cbd31129a88d570618dddba3ba6 100644 (file)
--- a/test.c
+++ b/test.c
@@ -33,7 +33,6 @@
 
 #include "internal.h"
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <unistd.h>
 #include <ctype.h>
 #include <errno.h>
diff --git a/touch.c b/touch.c
index afdd265f742e82ca66a526114b2c9c7743a08e4b..464aedb551401e85ab3b44b0624390abb1ddc50e 100644 (file)
--- a/touch.c
+++ b/touch.c
@@ -25,7 +25,6 @@
 #include "internal.h"
 #include <stdio.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <utime.h>
 #include <errno.h>
index 2da2427c1abbd221ceac8d1f8e6e37452a5d2555..64915b313251dcdba33e6ccc094a1287d6bdbe28 100644 (file)
@@ -24,7 +24,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <sys/ioctl.h>
 #include <errno.h>
index f980fe9ea7c7a19f87fc62556d85b6a5edddde59..bc92f20b7721317ba9ae52755dea86d8efb70c94 100644 (file)
@@ -96,7 +96,6 @@
 #include <stdlib.h>
 #include <termios.h>
 #include <mntent.h>
-#include <sys/stat.h>
 #include <sys/param.h>
 
  
index 240dfded0349e482f32c380924bc272e187acecb..1bbccd978ad02cded8518b3f5ed7663aef5224c0 100644 (file)
@@ -72,7 +72,6 @@
 #include <ctype.h>
 #include <stdlib.h>
 #include <termios.h>
-#include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <sys/param.h>
 #include <mntent.h>
index eacd8816cdcc6ddce520eb8f496f6132052caf59..70028dc2ec392fc59240342605c909998f1f4a35 100644 (file)
@@ -43,7 +43,6 @@
 #include <stdlib.h>
 #include <sys/ioctl.h>                 /* for _IO */
 #include <sys/utsname.h>
-#include <sys/stat.h>
 #include <asm/page.h>                  /* for PAGE_SIZE and PAGE_SHIFT */
                                /* we also get PAGE_SIZE via getpagesize() */
 
index 5c29b5f6b56768aaa2d522b249d60dfc495032cb..628772b1bdd6b233e5a31675a22191a7eead7878 100644 (file)
@@ -47,7 +47,6 @@
 #include <sys/socket.h>
 #include <sys/time.h>
 #include <sys/utsname.h>
-#include <sys/stat.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 
index bc5a5bdc00e89463ae016bbd7c182dd37cc52fd9..3422d997a6bc669b2fe0b55ae53f0be71ea9e0ee 100644 (file)
--- a/utility.c
+++ b/utility.c
@@ -50,7 +50,6 @@
 #include <utime.h>
 #include <unistd.h>
 #include <ctype.h>
-#include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <sys/utsname.h>               /* for uname(2) */
 
diff --git a/which.c b/which.c
index 943e10a5744dba68acf23aec5111c3e6a9b45ba7..b3fd934d7a7dc99498f5841619f251f6c630b458 100644 (file)
--- a/which.c
+++ b/which.c
@@ -23,7 +23,6 @@
 
 #include "internal.h"
 #include <stdio.h>
-#include <sys/stat.h>
 #include <sys/param.h>
 
 extern int which_main(int argc, char **argv)