changeset 11442:fe32d9ba1c86 libavcodec

Replace some printf() with puts() in tableprint.c This gets rid of a gcc warning about non-literal format strings.
author mru
date Tue, 09 Mar 2010 15:56:19 +0000
parents 08cf37a058f4
children 361a5fcb4393
files tableprint.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tableprint.c	Tue Mar 09 15:56:16 2010 +0000
+++ b/tableprint.c	Tue Mar 09 15:56:19 2010 +0000
@@ -65,10 +65,10 @@
     tableinit();
 
     for (i = 0; tables[i].declaration; i++) {
-        printf(tables[i].declaration);
-        printf(" = {\n");
+        puts(tables[i].declaration);
+        puts(" = {\n");
         tables[i].printfunc(tables[i].data, tables[i].size, tables[i].size2);
-        printf("};\n");
+        puts("};\n");
     }
     return 0;
 }