diff options
author | Eric Andersen | 2001-03-09 14:36:42 +0000 |
---|---|---|
committer | Eric Andersen | 2001-03-09 14:36:42 +0000 |
commit | eba8ed71f08f334bc94ac8eeedcd998fcdd05897 (patch) | |
tree | c7a2f4adfb3418ff5d970a4f01fe87df38e04dc9 /coreutils | |
parent | 9ba5bce06f71e610db752489b4f97e2af56c2577 (diff) | |
download | busybox-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.zip busybox-eba8ed71f08f334bc94ac8eeedcd998fcdd05897.tar.gz |
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 3554008..aa8528d 100644 --- a/coreutils/cat.c +++ b/coreutils/cat.c @@ -22,6 +22,7 @@ */ #include <stdlib.h> +#include <string.h> #include "busybox.h" extern int cat_main(int argc, char **argv) diff --git a/coreutils/df.c b/coreutils/df.c index 485076f..776fceb 100644 --- a/coreutils/df.c +++ b/coreutils/df.c @@ -24,6 +24,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <mntent.h> #include <sys/vfs.h> #include <getopt.h> diff --git a/coreutils/du.c b/coreutils/du.c index 17ecfde..7cb888d 100644 --- a/coreutils/du.c +++ b/coreutils/du.c @@ -28,6 +28,7 @@ #include <stdio.h> #include <stdlib.h> #include <getopt.h> +#include <string.h> #include <errno.h> #include "busybox.h" #define BB_DECLARE_EXTERN @@ -196,7 +197,7 @@ int du_main(int argc, char **argv) return status; } -/* $Id: du.c,v 1.42 2001/03/07 17:42:07 markw Exp $ */ +/* $Id: du.c,v 1.43 2001/03/09 14:36:42 andersen Exp $ */ /* Local Variables: c-file-style: "linux" diff --git a/coreutils/head.c b/coreutils/head.c index c683ec7..fac9ec6 100644 --- a/coreutils/head.c +++ b/coreutils/head.c @@ -26,6 +26,7 @@ #include <stdio.h> #include <getopt.h> #include <stdlib.h> +#include <string.h> #include "busybox.h" int head(int len, FILE *fp) diff --git a/coreutils/sort.c b/coreutils/sort.c index ed68722..79e629c 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c @@ -22,6 +22,7 @@ */ #include <getopt.h> +#include <string.h> #include <stdlib.h> #include "busybox.h" diff --git a/coreutils/uname.c b/coreutils/uname.c index 4931ff1..f7e2291 100644 --- a/coreutils/uname.c +++ b/coreutils/uname.c @@ -33,6 +33,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <sys/types.h> #include <sys/utsname.h> diff --git a/coreutils/wc.c b/coreutils/wc.c index f2d33d6..5472c30 100644 --- a/coreutils/wc.c +++ b/coreutils/wc.c @@ -22,6 +22,7 @@ #include <stdio.h> #include <getopt.h> +#include <string.h> #include <stdlib.h> #include "busybox.h" |