diff options
| author | Eric Andersen <andersen@codepoet.org> | 2001-03-09 14:36:42 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2001-03-09 14:36:42 +0000 |
| commit | eba8ed71f08f334bc94ac8eeedcd998fcdd05897 (patch) | |
| tree | c7a2f4adfb3418ff5d970a4f01fe87df38e04dc9 /coreutils | |
| parent | 9ba5bce06f71e610db752489b4f97e2af56c2577 (diff) | |
| download | busybox-w32-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.tar.gz busybox-w32-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.tar.bz2 busybox-w32-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.zip | |
Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanup
warnings with glibc 2.2 and use always use xfopen
-Erik
Diffstat (limited to 'coreutils')
| -rw-r--r-- | coreutils/cat.c | 1 | ||||
| -rw-r--r-- | coreutils/df.c | 1 | ||||
| -rw-r--r-- | coreutils/du.c | 3 | ||||
| -rw-r--r-- | coreutils/head.c | 1 | ||||
| -rw-r--r-- | coreutils/sort.c | 1 | ||||
| -rw-r--r-- | coreutils/uname.c | 1 | ||||
| -rw-r--r-- | coreutils/wc.c | 1 |
7 files changed, 8 insertions, 1 deletions
diff --git a/coreutils/cat.c b/coreutils/cat.c index 3554008f8..aa8528d6a 100644 --- a/coreutils/cat.c +++ b/coreutils/cat.c | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | */ | 22 | */ |
| 23 | 23 | ||
| 24 | #include <stdlib.h> | 24 | #include <stdlib.h> |
| 25 | #include <string.h> | ||
| 25 | #include "busybox.h" | 26 | #include "busybox.h" |
| 26 | 27 | ||
| 27 | extern int cat_main(int argc, char **argv) | 28 | extern int cat_main(int argc, char **argv) |
diff --git a/coreutils/df.c b/coreutils/df.c index 485076f90..776fceb28 100644 --- a/coreutils/df.c +++ b/coreutils/df.c | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | #include <stdio.h> | 25 | #include <stdio.h> |
| 26 | #include <stdlib.h> | 26 | #include <stdlib.h> |
| 27 | #include <string.h> | ||
| 27 | #include <mntent.h> | 28 | #include <mntent.h> |
| 28 | #include <sys/vfs.h> | 29 | #include <sys/vfs.h> |
| 29 | #include <getopt.h> | 30 | #include <getopt.h> |
diff --git a/coreutils/du.c b/coreutils/du.c index 17ecfdeac..7cb888de8 100644 --- a/coreutils/du.c +++ b/coreutils/du.c | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | #include <stdio.h> | 28 | #include <stdio.h> |
| 29 | #include <stdlib.h> | 29 | #include <stdlib.h> |
| 30 | #include <getopt.h> | 30 | #include <getopt.h> |
| 31 | #include <string.h> | ||
| 31 | #include <errno.h> | 32 | #include <errno.h> |
| 32 | #include "busybox.h" | 33 | #include "busybox.h" |
| 33 | #define BB_DECLARE_EXTERN | 34 | #define BB_DECLARE_EXTERN |
| @@ -196,7 +197,7 @@ int du_main(int argc, char **argv) | |||
| 196 | return status; | 197 | return status; |
| 197 | } | 198 | } |
| 198 | 199 | ||
| 199 | /* $Id: du.c,v 1.42 2001/03/07 17:42:07 markw Exp $ */ | 200 | /* $Id: du.c,v 1.43 2001/03/09 14:36:42 andersen Exp $ */ |
| 200 | /* | 201 | /* |
| 201 | Local Variables: | 202 | Local Variables: |
| 202 | c-file-style: "linux" | 203 | c-file-style: "linux" |
diff --git a/coreutils/head.c b/coreutils/head.c index c683ec78a..fac9ec659 100644 --- a/coreutils/head.c +++ b/coreutils/head.c | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | #include <stdio.h> | 26 | #include <stdio.h> |
| 27 | #include <getopt.h> | 27 | #include <getopt.h> |
| 28 | #include <stdlib.h> | 28 | #include <stdlib.h> |
| 29 | #include <string.h> | ||
| 29 | #include "busybox.h" | 30 | #include "busybox.h" |
| 30 | 31 | ||
| 31 | int head(int len, FILE *fp) | 32 | int head(int len, FILE *fp) |
diff --git a/coreutils/sort.c b/coreutils/sort.c index ed6872218..79e629c75 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | */ | 22 | */ |
| 23 | 23 | ||
| 24 | #include <getopt.h> | 24 | #include <getopt.h> |
| 25 | #include <string.h> | ||
| 25 | #include <stdlib.h> | 26 | #include <stdlib.h> |
| 26 | #include "busybox.h" | 27 | #include "busybox.h" |
| 27 | 28 | ||
diff --git a/coreutils/uname.c b/coreutils/uname.c index 4931ff1d8..f7e2291a8 100644 --- a/coreutils/uname.c +++ b/coreutils/uname.c | |||
| @@ -33,6 +33,7 @@ | |||
| 33 | 33 | ||
| 34 | #include <stdio.h> | 34 | #include <stdio.h> |
| 35 | #include <stdlib.h> | 35 | #include <stdlib.h> |
| 36 | #include <string.h> | ||
| 36 | #include <sys/types.h> | 37 | #include <sys/types.h> |
| 37 | #include <sys/utsname.h> | 38 | #include <sys/utsname.h> |
| 38 | 39 | ||
diff --git a/coreutils/wc.c b/coreutils/wc.c index f2d33d6f3..5472c3070 100644 --- a/coreutils/wc.c +++ b/coreutils/wc.c | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | 22 | ||
| 23 | #include <stdio.h> | 23 | #include <stdio.h> |
| 24 | #include <getopt.h> | 24 | #include <getopt.h> |
| 25 | #include <string.h> | ||
| 25 | #include <stdlib.h> | 26 | #include <stdlib.h> |
| 26 | #include "busybox.h" | 27 | #include "busybox.h" |
| 27 | 28 | ||
