From 04095e58fb4d3a083f77962714080ffe8139b39c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 25 Apr 2001 05:39:18 +0000 Subject: 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 --- archival/libunarchive/decompress_unzip.c | 4 ---- archival/libunarchive/unzip.c | 4 ---- 2 files changed, 8 deletions(-) (limited to 'archival/libunarchive') diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c index 9568c28..7de2893 100644 --- a/archival/libunarchive/decompress_unzip.c +++ b/archival/libunarchive/decompress_unzip.c @@ -65,10 +65,6 @@ static char *license_msg[] = { #include #include #include "libbb.h" -#define BB_DECLARE_EXTERN -#define bb_need_memory_exhausted -#define bb_need_name_too_long -#include "../messages.c" FILE *in_file, *out_file; diff --git a/archival/libunarchive/unzip.c b/archival/libunarchive/unzip.c index 9568c28..7de2893 100644 --- a/archival/libunarchive/unzip.c +++ b/archival/libunarchive/unzip.c @@ -65,10 +65,6 @@ static char *license_msg[] = { #include #include #include "libbb.h" -#define BB_DECLARE_EXTERN -#define bb_need_memory_exhausted -#define bb_need_name_too_long -#include "../messages.c" FILE *in_file, *out_file; -- cgit v1.1