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:
@ -32,12 +32,6 @@
|
||||
#include <stdlib.h> /* free() */
|
||||
#include "libbb.h"
|
||||
|
||||
|
||||
/* same conditions as recursive_action */
|
||||
#define bb_need_name_too_long
|
||||
#define BB_DECLARE_EXTERN
|
||||
#include "../messages.c"
|
||||
|
||||
#undef DEBUG_RECURS_ACTION
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user