diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2010-01-10 22:29:11 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2010-01-10 22:29:11 +0800 |
commit | 0a2f062e76887665b7a25550775c536648924c25 (patch) | |
tree | acd4e53cbea18fc82397dd7a00a9d3bad7b5f713 | |
parent | b903aa477583650b94effd95ff4f44ce67ff0d16 (diff) |
improve the generated code
-rw-r--r-- | genmap.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |