# HG changeset patch # User diego # Date 1195636953 0 # Node ID 531116b7693d31936d56b5081df35b08d0970ce1 # Parent aa166b26298d3f5fd36853139c792ba4dd49e6bd main() --> main(void) diff -r aa166b26298d -r 531116b7693d liba52/test.c --- a/liba52/test.c Wed Nov 21 09:17:04 2007 +0000 +++ b/liba52/test.c Wed Nov 21 09:22:33 2007 +0000 @@ -45,7 +45,7 @@ #endif -int main(){ +int main(void){ int accel=0; int sample_rate=0; int bit_rate=0; diff -r aa166b26298d -r 531116b7693d libvo/font_load.c --- a/libvo/font_load.c Wed Nov 21 09:17:04 2007 +0000 +++ b/libvo/font_load.c Wed Nov 21 09:22:33 2007 +0000 @@ -337,7 +337,7 @@ } #if 0 -int main(){ +int main(void){ read_font_desc("high_arpi.desc",1); diff -r aa166b26298d -r 531116b7693d libvo/jpeg_enc.c --- a/libvo/jpeg_enc.c Wed Nov 21 09:17:04 2007 +0000 +++ b/libvo/jpeg_enc.c Wed Nov 21 09:22:33 2007 +0000 @@ -512,7 +512,7 @@ char code[256*1024]; -main() { +main(void) { int i, size; FILE *fp; diff -r aa166b26298d -r 531116b7693d osdep/glob-win.c --- a/osdep/glob-win.c Wed Nov 21 09:17:04 2007 +0000 +++ b/osdep/glob-win.c Wed Nov 21 09:22:33 2007 +0000 @@ -71,7 +71,7 @@ } #if 0 -int main(){ +int main(void){ glob_t gg; printf("globtest\n"); glob( "*.jpeg",0,NULL,&gg ); diff -r aa166b26298d -r 531116b7693d osdep/timer-darwin.c --- a/osdep/timer-darwin.c Wed Nov 21 09:17:04 2007 +0000 +++ b/osdep/timer-darwin.c Wed Nov 21 09:22:33 2007 +0000 @@ -94,7 +94,7 @@ #if 0 #include -int main() { +int main(void) { int i,j, r, c = 200; long long t = 0; diff -r aa166b26298d -r 531116b7693d osdep/timer-lx.c --- a/osdep/timer-lx.c Wed Nov 21 09:17:04 2007 +0000 +++ b/osdep/timer-lx.c Wed Nov 21 09:22:33 2007 +0000 @@ -65,7 +65,7 @@ #if 0 -void main(){ +void main(void){ float t=0; InitTimer(); while(1){ t+=GetRelativeTime();printf("time= %10.6f\r",t);fflush(stdout); }