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

@ -65,10 +65,6 @@ static char *license_msg[] = {
#include <signal.h>
#include <stdlib.h>
#include "libbb.h"
#define BB_DECLARE_EXTERN
#define bb_need_memory_exhausted
#define bb_need_name_too_long
#include "../messages.c"
FILE *in_file, *out_file;