summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-04-25 05:39:18 +0000
committerEric Andersen <andersen@codepoet.org>2001-04-25 05:39:18 +0000
commit04095e58fb4d3a083f77962714080ffe8139b39c (patch)
treeaa3580587822774ffed9831aacee11d977d0a5f9 /include
parent3676374915866fb06224a19e2274afe026eb9377 (diff)
downloadbusybox-w32-04095e58fb4d3a083f77962714080ffe8139b39c.tar.gz
busybox-w32-04095e58fb4d3a083f77962714080ffe8139b39c.tar.bz2
busybox-w32-04095e58fb4d3a083f77962714080ffe8139b39c.zip
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 'include')
-rw-r--r--include/libbb.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index bbfffda6d..cbc1436fc 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -264,5 +264,17 @@ enum {
264}; 264};
265 265
266extern const char *applet_name; 266extern const char *applet_name;
267extern const char *full_version;
268extern const char *name_too_long;
269extern const char *omitting_directory;
270extern const char *not_a_directory;
271extern const char *memory_exhausted;
272extern const char *invalid_date;
273extern const char *invalid_option;
274extern const char *io_error;
275extern const char *dash_dash_help;
276extern const char *write_error;
277extern const char *too_few_args;
278extern const char *name_longer_than_foo;
267 279
268#endif /* __LIBBB_H__ */ 280#endif /* __LIBBB_H__ */