# HG changeset patch # User reimar # Date 1269188948 0 # Node ID 06d8a281e04559b2159c515c33ee6729ad626cf9 # Parent 3367dd5913a02f1028e54ec13cbc8dbef6c4f43b Do not use puts, it adds additional newlines making the generated files needlessly ugly. diff -r 3367dd5913a0 -r 06d8a281e045 tableprint.c --- a/tableprint.c Sun Mar 21 16:03:45 2010 +0000 +++ b/tableprint.c Sun Mar 21 16:29:08 2010 +0000 @@ -43,10 +43,9 @@ tableinit(); for (i = 0; tables[i].declaration; i++) { - puts(tables[i].declaration); - puts(" = {\n"); + printf("%s = {\n", tables[i].declaration); tables[i].printfunc(tables[i].data, tables[i].size, tables[i].size2); - puts("};\n"); + printf("};\n"); } return 0; }