# HG changeset patch # User diego # Date 1195779176 0 # Node ID bd5f4dc81fbe68bd2f52d870745f64da8adef682 # Parent 6ce8f15fc02b68949a88da2588a1b158762d3083 main() --> main(void) diff -r 6ce8f15fc02b -r bd5f4dc81fbe cabac.c --- a/cabac.c Wed Nov 21 22:41:31 2007 +0000 +++ b/cabac.c Fri Nov 23 00:52:56 2007 +0000 @@ -184,7 +184,7 @@ #include "avcodec.h" -int main(){ +int main(void){ CABACContext c; uint8_t b[9*SIZE]; uint8_t r[9*SIZE]; diff -r 6ce8f15fc02b -r bd5f4dc81fbe eval.c --- a/eval.c Wed Nov 21 22:41:31 2007 +0000 +++ b/eval.c Fri Nov 23 00:52:56 2007 +0000 @@ -451,7 +451,7 @@ "E", 0 }; -main(){ +main(void){ int i; printf("%f == 12.7\n", ff_eval("1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", const_values, const_names, NULL, NULL, NULL, NULL, NULL)); printf("%f == 0.931322575\n", ff_eval("80G/80Gi", const_values, const_names, NULL, NULL, NULL, NULL, NULL)); diff -r 6ce8f15fc02b -r bd5f4dc81fbe h264.c --- a/h264.c Wed Nov 21 22:41:31 2007 +0000 +++ b/h264.c Fri Nov 23 00:52:56 2007 +0000 @@ -7879,7 +7879,7 @@ #undef random #define COUNT 8000 #define SIZE (COUNT*40) -int main(){ +int main(void){ int i; uint8_t temp[SIZE]; PutBitContext pb; diff -r 6ce8f15fc02b -r bd5f4dc81fbe rangecoder.c --- a/rangecoder.c Wed Nov 21 22:41:31 2007 +0000 +++ b/rangecoder.c Fri Nov 23 00:52:56 2007 +0000 @@ -111,7 +111,7 @@ #if 0 //selftest #define SIZE 10240 -int main(){ +int main(void){ RangeCoder c; uint8_t b[9*SIZE]; uint8_t r[9*SIZE]; diff -r 6ce8f15fc02b -r bd5f4dc81fbe snow.c --- a/snow.c Wed Nov 21 22:41:31 2007 +0000 +++ b/snow.c Fri Nov 23 00:52:56 2007 +0000 @@ -4755,7 +4755,7 @@ #undef printf #undef random -int main(){ +int main(void){ int width=256; int height=256; int buffer[2][width*height];