Changed the "predefinitions" of codec_list and mapping_list from static

to extern.  It's not legal C to say

     static whatever[];

because the size isn't given.  Presumably this is a gcc extension.
This commit is contained in:
Tim Peters 2004-07-18 04:20:15 +00:00
parent d0bcf351ff
commit 0f27166e6a
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ struct pair_encodemap {
DBCHAR code;
};
static const MultibyteCodec codec_list[];
static const struct dbcs_map mapping_list[];
extern const MultibyteCodec codec_list[];
extern const struct dbcs_map mapping_list[];
#define CODEC_INIT(encoding) \
static int encoding##_codec_init(const void *config)