summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorEric Andersen2001-04-25 05:39:18 +0000
committerEric Andersen2001-04-25 05:39:18 +0000
commit04095e58fb4d3a083f77962714080ffe8139b39c (patch)
treeaa3580587822774ffed9831aacee11d977d0a5f9 /applets
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 'applets')
-rw-r--r--applets/applets.c4
-rw-r--r--applets/busybox.c5
2 files changed, 0 insertions, 9 deletions
diff --git a/applets/applets.c b/applets/applets.c
index 10b44a5..c1575c7 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -35,10 +35,6 @@
#undef PROTOTYPES
#include "applets.h"
-#define bb_need_full_version
-#define BB_DECLARE_EXTERN
-#include "messages.c"
-
struct BB_applet *applet_using;
/* The -1 arises because of the {0,NULL,0,-1} entry above. */
diff --git a/applets/busybox.c b/applets/busybox.c
index 9db26df..b4939e1 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -5,11 +5,6 @@
#include <errno.h>
#include <stdlib.h>
#include "busybox.h"
-
-#define bb_need_full_version
-#define BB_DECLARE_EXTERN
-#include "messages.c"
-
#ifdef BB_LOCALE_SUPPORT
#include <locale.h>
#endif