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 /procps | |
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 'procps')
-rw-r--r-- | procps/ps.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/procps/ps.c b/procps/ps.c index 4ce43c47f..24f806c4b 100644 --- a/procps/ps.c +++ b/procps/ps.c | |||
@@ -38,9 +38,6 @@ | |||
38 | #include <string.h> | 38 | #include <string.h> |
39 | #include <sys/ioctl.h> | 39 | #include <sys/ioctl.h> |
40 | #include "busybox.h" | 40 | #include "busybox.h" |
41 | #define BB_DECLARE_EXTERN | ||
42 | #define bb_need_help | ||
43 | #include "messages.c" | ||
44 | 41 | ||
45 | static const int TERMINAL_WIDTH = 79; /* not 80 in case terminal has linefold bug */ | 42 | static const int TERMINAL_WIDTH = 79; /* not 80 in case terminal has linefold bug */ |
46 | 43 | ||