[trunk] remove a warning when using strict prototype
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 10 Mar 2014 08:15:43 +0000 (08:15 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 10 Mar 2014 08:15:43 +0000 (08:15 +0000)
src/lib/openjp2/t1_generate_luts.c

index d18432489392dbcf3cb12fc9ff968e008cbed5cd..b2944d8ce6c8bd37d82cb2404a3070c25ad6c637 100644 (file)
@@ -181,7 +181,8 @@ static void dump_array16(int array[],int size){
        printf("0x%04x\n};\n\n", array[size]);
 }
 
-int main(){
+int main(int argc, char **argv)
+{
        int i, j;
        double u, v, t;
 
@@ -190,6 +191,7 @@ int main(){
        int lut_nmsedec_sig0[1 << T1_NMSEDEC_BITS];
        int lut_nmsedec_ref[1 << T1_NMSEDEC_BITS];
        int lut_nmsedec_ref0[1 << T1_NMSEDEC_BITS];
+  (void)argc; (void)argv;
 
        printf("/* This file was automatically generated by t1_generate_luts.c */\n\n");