changeset 11524:06d8a281e045 libavcodec

Do not use puts, it adds additional newlines making the generated files needlessly ugly.
author reimar
date Sun, 21 Mar 2010 16:29:08 +0000
parents 3367dd5913a0
children 892d04e7c4e5
files tableprint.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }