summaryrefslogtreecommitdiffstats
path: root/Modules/cjkcodecs/cjkcodecs.h
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-18 04:20:15 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-07-18 04:20:15 (GMT)
commit0f27166e6ad61cb424e51d643b6d9893c896d938 (patch)
tree81f555d8572ba51df1d316e5391b87f5175f74f9 /Modules/cjkcodecs/cjkcodecs.h
parentd0bcf351ff05d93fa5c54ec8c61955e1cf760d12 (diff)
downloadcpython-0f27166e6ad61cb424e51d643b6d9893c896d938.zip
cpython-0f27166e6ad61cb424e51d643b6d9893c896d938.tar.gz
cpython-0f27166e6ad61cb424e51d643b6d9893c896d938.tar.bz2
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.
Diffstat (limited to 'Modules/cjkcodecs/cjkcodecs.h')
-rw-r--r--Modules/cjkcodecs/cjkcodecs.h4
1 files 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)