aboutsummaryrefslogtreecommitdiff
path: root/libbb/xfuncs.c
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 /libbb/xfuncs.c
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 'libbb/xfuncs.c')
-rw-r--r--libbb/xfuncs.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index e7f41aae2..f3b294be2 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -31,11 +31,6 @@
31#include <unistd.h> 31#include <unistd.h>
32#include "libbb.h" 32#include "libbb.h"
33 33
34/* same conditions as recursive_action */
35#define bb_need_memory_exhausted
36#define BB_DECLARE_EXTERN
37#include "../messages.c"
38
39 34
40#ifndef DMALLOC 35#ifndef DMALLOC
41extern void *xmalloc(size_t size) 36extern void *xmalloc(size_t size)