summaryrefslogtreecommitdiffstats
path: root/Modules/cjkcodecs
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/cjkcodecs')
-rw-r--r--Modules/cjkcodecs/cjkcodecs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/cjkcodecs/cjkcodecs.h b/Modules/cjkcodecs/cjkcodecs.h
index 6fa8a7b..bf08e58 100644
--- a/Modules/cjkcodecs/cjkcodecs.h
+++ b/Modules/cjkcodecs/cjkcodecs.h
@@ -57,6 +57,12 @@ struct pair_encodemap {
DBCHAR code;
};
+/* There are really static, and (re)declared so later by the expansions
+ * of the BEGIN_MAPPINGS_LIST and BEGIN_CODECS_LIST macros, but it's
+ * not legal C to declare a static array of unknown size. It would be
+ * better if the code were rearranged so as to not require declaration
+ * of these names before the macros define them.
+ */
extern const MultibyteCodec codec_list[];
extern const struct dbcs_map mapping_list[];