diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-12-17 18:44:15 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-12-17 18:44:15 +0000 |
commit | 3132131d6265f6107c652f634c8b4a3e006fb46f (patch) | |
tree | 1d18bbba8f8a1d78d7ff13e7a87ee2aab165125f /du.c | |
parent | 0055f41a9885374ff57a4b90af63aaac6dd01f58 (diff) | |
download | busybox-w32-3132131d6265f6107c652f634c8b4a3e006fb46f.tar.gz busybox-w32-3132131d6265f6107c652f634c8b4a3e006fb46f.tar.bz2 busybox-w32-3132131d6265f6107c652f634c8b4a3e006fb46f.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
git-svn-id: svn://busybox.net/trunk/busybox@243 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 $ */ |