summaryrefslogtreecommitdiff
path: root/enc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-10 01:39:36 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-10 01:41:50 +0900
commit162cf2879af592f8aa458311486749bed9a6bf55 (patch)
treeea4ba0ea326021779ea55e6fdd7eaf6312351628 /enc
parent53b3be5d58a9bf1efce229b3dce723f96e820c79 (diff)
Init function is need to link statically
Diffstat (limited to 'enc')
-rw-r--r--enc/gb2312.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/enc/gb2312.c b/enc/gb2312.c
index 7756534..20c8f5b 100644
--- a/enc/gb2312.c
+++ b/enc/gb2312.c
@@ -1,5 +1,10 @@
#include "regenc.h"
+void
+Init_gb2312(void)
+{
+}
+
ENC_REPLICATE("GB2312", "EUC-KR")
ENC_ALIAS("EUC-CN", "GB2312")
ENC_ALIAS("eucCN", "GB2312")