diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-25 05:39:18 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-25 05:39:18 +0000 |
commit | 04095e58fb4d3a083f77962714080ffe8139b39c (patch) | |
tree | aa3580587822774ffed9831aacee11d977d0a5f9 /archival/libunarchive | |
parent | 3676374915866fb06224a19e2274afe026eb9377 (diff) | |
download | busybox-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 'archival/libunarchive')
-rw-r--r-- | archival/libunarchive/decompress_unzip.c | 4 | ||||
-rw-r--r-- | archival/libunarchive/unzip.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c index 9568c2870..7de28930a 100644 --- a/archival/libunarchive/decompress_unzip.c +++ b/archival/libunarchive/decompress_unzip.c | |||
@@ -65,10 +65,6 @@ static char *license_msg[] = { | |||
65 | #include <signal.h> | 65 | #include <signal.h> |
66 | #include <stdlib.h> | 66 | #include <stdlib.h> |
67 | #include "libbb.h" | 67 | #include "libbb.h" |
68 | #define BB_DECLARE_EXTERN | ||
69 | #define bb_need_memory_exhausted | ||
70 | #define bb_need_name_too_long | ||
71 | #include "../messages.c" | ||
72 | 68 | ||
73 | FILE *in_file, *out_file; | 69 | FILE *in_file, *out_file; |
74 | 70 | ||
diff --git a/archival/libunarchive/unzip.c b/archival/libunarchive/unzip.c index 9568c2870..7de28930a 100644 --- a/archival/libunarchive/unzip.c +++ b/archival/libunarchive/unzip.c | |||
@@ -65,10 +65,6 @@ static char *license_msg[] = { | |||
65 | #include <signal.h> | 65 | #include <signal.h> |
66 | #include <stdlib.h> | 66 | #include <stdlib.h> |
67 | #include "libbb.h" | 67 | #include "libbb.h" |
68 | #define BB_DECLARE_EXTERN | ||
69 | #define bb_need_memory_exhausted | ||
70 | #define bb_need_name_too_long | ||
71 | #include "../messages.c" | ||
72 | 68 | ||
73 | FILE *in_file, *out_file; | 69 | FILE *in_file, *out_file; |
74 | 70 | ||