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
This commit is contained in:
Eric Andersen
2001-04-25 05:39:18 +00:00
parent 3676374915
commit 04095e58fb
46 changed files with 98 additions and 241 deletions

View File

@@ -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. */

View File

@@ -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