Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-09 17:36:42 +0300
committerEric Andersen <andersen@codepoet.org>2001-03-09 17:36:42 +0300
commiteba8ed71f08f334bc94ac8eeedcd998fcdd05897 (patch)
treec7a2f4adfb3418ff5d970a4f01fe87df38e04dc9 /coreutils
parent9ba5bce06f71e610db752489b4f97e2af56c2577 (diff)
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.c1
-rw-r--r--coreutils/df.c1
-rw-r--r--coreutils/du.c3
-rw-r--r--coreutils/head.c1
-rw-r--r--coreutils/sort.c1
-rw-r--r--coreutils/uname.c1
-rw-r--r--coreutils/wc.c1
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 @@
*/
#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 485076f90..776fceb28 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 17ecfdeac..7cb888de8 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 c683ec78a..fac9ec659 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 ed6872218..79e629c75 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 4931ff1d8..f7e2291a8 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 f2d33d6f3..5472c3070 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"