summaryrefslogtreecommitdiff
path: root/coreutils/tr.c
diff options
context:
space:
mode:
authorEric Andersen2001-04-25 05:39:18 +0000
committerEric Andersen2001-04-25 05:39:18 +0000
commit04095e58fb4d3a083f77962714080ffe8139b39c (patch)
treeaa3580587822774ffed9831aacee11d977d0a5f9 /coreutils/tr.c
parent3676374915866fb06224a19e2274afe026eb9377 (diff)
downloadbusybox-04095e58fb4d3a083f77962714080ffe8139b39c.zip
busybox-04095e58fb4d3a083f77962714080ffe8139b39c.tar.gz
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/tr.c')
-rw-r--r--coreutils/tr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/coreutils/tr.c b/coreutils/tr.c
index ce15cfd..ff0f331 100644
--- a/coreutils/tr.c
+++ b/coreutils/tr.c
@@ -30,9 +30,6 @@
#include <unistd.h>
#include <sys/types.h>
#include "busybox.h"
-#define BB_DECLARE_EXTERN
-#define bb_need_write_error
-#include "messages.c"
static const int ASCII = 0377;