aboutsummaryrefslogtreecommitdiff
path: root/coreutils/du.c
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2001-04-25 05:39:18 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2001-04-25 05:39:18 +0000
commit04095e58fb4d3a083f77962714080ffe8139b39c (patch)
treeaa3580587822774ffed9831aacee11d977d0a5f9 /coreutils/du.c
parent3676374915866fb06224a19e2274afe026eb9377 (diff)
downloadbusybox-04095e58fb4d3a083f77962714080ffe8139b39c.tar.gz
busybox-04095e58fb4d3a083f77962714080ffe8139b39c.tar.bz2
Move messages.c to libbb. Make each string in messages.c be its own .o file.
This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik
Diffstat (limited to 'coreutils/du.c')
-rw-r--r--coreutils/du.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/coreutils/du.c b/coreutils/du.c
index 119895e49..3f7621b3d 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -31,9 +31,6 @@
#include <string.h>
#include <errno.h>
#include "busybox.h"
-#define BB_DECLARE_EXTERN
-#define bb_need_name_too_long
-#include "messages.c"
#ifdef BB_FEATURE_HUMAN_READABLE
@@ -192,7 +189,7 @@ int du_main(int argc, char **argv)
return status;
}
-/* $Id: du.c,v 1.44 2001/04/09 22:48:11 andersen Exp $ */
+/* $Id: du.c,v 1.45 2001/04/25 05:39:18 andersen Exp $ */
/*
Local Variables:
c-file-style: "linux"