changeset 5934:bd5f4dc81fbe libavcodec

main() --> main(void)
author diego
date Fri, 23 Nov 2007 00:52:56 +0000
parents 6ce8f15fc02b
children 5bfa6df53349
files cabac.c eval.c h264.c rangecoder.c snow.c
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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];
--- 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));
--- 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;
--- 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];
--- 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];