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:
@@ -264,5 +264,17 @@ enum {
|
||||
};
|
||||
|
||||
extern const char *applet_name;
|
||||
extern const char *full_version;
|
||||
extern const char *name_too_long;
|
||||
extern const char *omitting_directory;
|
||||
extern const char *not_a_directory;
|
||||
extern const char *memory_exhausted;
|
||||
extern const char *invalid_date;
|
||||
extern const char *invalid_option;
|
||||
extern const char *io_error;
|
||||
extern const char *dash_dash_help;
|
||||
extern const char *write_error;
|
||||
extern const char *too_few_args;
|
||||
extern const char *name_longer_than_foo;
|
||||
|
||||
#endif /* __LIBBB_H__ */
|
||||
|
Reference in New Issue
Block a user