diff options
author | Erik Andersen | 1999-12-17 18:44:15 +0000 |
---|---|---|
committer | Erik Andersen | 1999-12-17 18:44:15 +0000 |
commit | 4d1d0113fd3309aac30b2dd1d443bf7c7d5f0a3d (patch) | |
tree | 1d18bbba8f8a1d78d7ff13e7a87ee2aab165125f /coreutils | |
parent | 6da0ae8183a31d4faab745d534a363c7e66ef864 (diff) | |
download | busybox-4d1d0113fd3309aac30b2dd1d443bf7c7d5f0a3d.zip busybox-4d1d0113fd3309aac30b2dd1d443bf7c7d5f0a3d.tar.gz |
Reworked the source so it will compile and run under glibc 2.0.7
and linux kernel 2.0.36 (though the dubious reasons why someone
would want to do that defy imagination ;)
-Erik
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/dd.c | 2 | ||||
-rw-r--r-- | coreutils/du.c | 5 | ||||
-rw-r--r-- | coreutils/tail.c | 1 |
3 files changed, 3 insertions, 5 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index 90c1004..bc01eed 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c @@ -33,7 +33,7 @@ #include <stdio.h> #include <fcntl.h> #include <errno.h> -#if (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 1) +#if (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1) #include <inttypes.h> #else typedef unsigned long long int uintmax_t; diff --git a/coreutils/du.c b/coreutils/du.c index ed90bc4..ec03afd 100644 --- a/coreutils/du.c +++ b/coreutils/du.c @@ -44,9 +44,6 @@ static int du_depth = 0; static Display *print; static void -print_null(size_t size, char *filename) { } - -static void print_normal(size_t size, char *filename) { fprintf(stdout, "%-7d %s\n", (size >> 1), filename); @@ -143,4 +140,4 @@ du_main(int argc, char **argv) exit(0); } -/* $Id: du.c,v 1.7 1999/12/16 21:16:47 beppu Exp $ */ +/* $Id: du.c,v 1.8 1999/12/17 18:44:15 erik Exp $ */ diff --git a/coreutils/tail.c b/coreutils/tail.c index 7a64c4c..697177d 100644 --- a/coreutils/tail.c +++ b/coreutils/tail.c @@ -27,6 +27,7 @@ #include "internal.h" #include <stdio.h> +#include <stdarg.h> #include <assert.h> #include <errno.h> #include <sys/types.h> |