From 0a2f062e76887665b7a25550775c536648924c25 Mon Sep 17 00:00:00 2001 From: Luo Jinghua Date: Sun, 10 Jan 2010 22:29:11 +0800 Subject: improve the generated code --- genmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3