summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2010-01-10 22:29:11 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2010-01-10 22:29:11 +0800
commit0a2f062e76887665b7a25550775c536648924c25 (patch)
treeacd4e53cbea18fc82397dd7a00a9d3bad7b5f713
parentb903aa477583650b94effd95ff4f44ce67ff0d16 (diff)
improve the generated code
-rw-r--r--genmap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/genmap.py b/genmap.py
index 785d5dd..9a48b20 100644
--- a/genmap.py
+++ b/genmap.py
@@ -59,7 +59,7 @@ def gensinglebytemaps(table):
fp.write('\t&__uniconv_%s_state,\n' % t)
fp.write('\tNULL,\n')
fp.write('};\n\n')
- fp.write('SingleByteCodecState** __uniconv_get_single_byte_codecs()\n')
+ fp.write('SingleByteCodecState** __uniconv_get_single_byte_codecs(void)\n')
fp.write('{\n\treturn singlebytecodecs;\n}\n\n')
fp.close()