diff options
author | Erik Andersen <andersen@codepoet.org> | 1999-12-17 18:44:15 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 1999-12-17 18:44:15 +0000 |
commit | 4d1d0113fd3309aac30b2dd1d443bf7c7d5f0a3d (patch) | |
tree | 1d18bbba8f8a1d78d7ff13e7a87ee2aab165125f /du.c | |
parent | 6da0ae8183a31d4faab745d534a363c7e66ef864 (diff) | |
download | busybox-w32-4d1d0113fd3309aac30b2dd1d443bf7c7d5f0a3d.tar.gz busybox-w32-4d1d0113fd3309aac30b2dd1d443bf7c7d5f0a3d.tar.bz2 busybox-w32-4d1d0113fd3309aac30b2dd1d443bf7c7d5f0a3d.zip |
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 'du.c')
-rw-r--r-- | du.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -44,9 +44,6 @@ static int du_depth = 0; | |||
44 | static Display *print; | 44 | static Display *print; |
45 | 45 | ||
46 | static void | 46 | static void |
47 | print_null(size_t size, char *filename) { } | ||
48 | |||
49 | static void | ||
50 | print_normal(size_t size, char *filename) | 47 | print_normal(size_t size, char *filename) |
51 | { | 48 | { |
52 | fprintf(stdout, "%-7d %s\n", (size >> 1), filename); | 49 | fprintf(stdout, "%-7d %s\n", (size >> 1), filename); |
@@ -143,4 +140,4 @@ du_main(int argc, char **argv) | |||
143 | exit(0); | 140 | exit(0); |
144 | } | 141 | } |
145 | 142 | ||
146 | /* $Id: du.c,v 1.7 1999/12/16 21:16:47 beppu Exp $ */ | 143 | /* $Id: du.c,v 1.8 1999/12/17 18:44:15 erik Exp $ */ |