Commit 0f27166e authored by Tim Peters's avatar Tim Peters

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.
parent d0bcf351
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment