From 0f27166e6ad61cb424e51d643b6d9893c896d938 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sun, 18 Jul 2004 04:20:15 +0000 Subject: 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. --- Modules/cjkcodecs/cjkcodecs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/cjkcodecs/cjkcodecs.h b/Modules/cjkcodecs/cjkcodecs.h index 5fb05a8..6fa8a7b 100644 --- a/Modules/cjkcodecs/cjkcodecs.h +++ b/Modules/cjkcodecs/cjkcodecs.h @@ -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) -- cgit v0.12