diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-25 05:39:18 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-25 05:39:18 +0000 |
commit | e54544c3c4d44b12f9e8acc497efb6162c30836f (patch) | |
tree | aa3580587822774ffed9831aacee11d977d0a5f9 /du.c | |
parent | bb2646f7e74c0434c2e8c884ce97b05c7ae6b0a1 (diff) | |
download | busybox-w32-e54544c3c4d44b12f9e8acc497efb6162c30836f.tar.gz busybox-w32-e54544c3c4d44b12f9e8acc497efb6162c30836f.tar.bz2 busybox-w32-e54544c3c4d44b12f9e8acc497efb6162c30836f.zip |
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
git-svn-id: svn://busybox.net/trunk/busybox@2430 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'du.c')
-rw-r--r-- | du.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -31,9 +31,6 @@ | |||
31 | #include <string.h> | 31 | #include <string.h> |
32 | #include <errno.h> | 32 | #include <errno.h> |
33 | #include "busybox.h" | 33 | #include "busybox.h" |
34 | #define BB_DECLARE_EXTERN | ||
35 | #define bb_need_name_too_long | ||
36 | #include "messages.c" | ||
37 | 34 | ||
38 | 35 | ||
39 | #ifdef BB_FEATURE_HUMAN_READABLE | 36 | #ifdef BB_FEATURE_HUMAN_READABLE |
@@ -192,7 +189,7 @@ int du_main(int argc, char **argv) | |||
192 | return status; | 189 | return status; |
193 | } | 190 | } |
194 | 191 | ||
195 | /* $Id: du.c,v 1.44 2001/04/09 22:48:11 andersen Exp $ */ | 192 | /* $Id: du.c,v 1.45 2001/04/25 05:39:18 andersen Exp $ */ |
196 | /* | 193 | /* |
197 | Local Variables: | 194 | Local Variables: |
198 | c-file-style: "linux" | 195 | c-file-style: "linux" |