From 4bb3d604d530cd87d8c981eee4aa65a7867cc359 Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 21 Nov 2007 09:22:33 +0000 Subject: [PATCH] main() --> main(void) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25128 b3059339-0415-0410-9bf9-f77b7e298cf2 --- liba52/test.c | 2 +- libvo/font_load.c | 2 +- libvo/jpeg_enc.c | 2 +- osdep/glob-win.c | 2 +- osdep/timer-darwin.c | 2 +- osdep/timer-lx.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/liba52/test.c b/liba52/test.c index bc32eb4c2a..89a34d5ec6 100644 --- a/liba52/test.c +++ b/liba52/test.c @@ -45,7 +45,7 @@ static inline long long rdtsc() #endif -int main(){ +int main(void){ int accel=0; int sample_rate=0; int bit_rate=0; diff --git a/libvo/font_load.c b/libvo/font_load.c index bd1ed1229c..2703c3b79d 100644 --- a/libvo/font_load.c +++ b/libvo/font_load.c @@ -337,7 +337,7 @@ fail_out: } #if 0 -int main(){ +int main(void){ read_font_desc("high_arpi.desc",1); diff --git a/libvo/jpeg_enc.c b/libvo/jpeg_enc.c index 235e9d5f5f..f5777f7401 100644 --- a/libvo/jpeg_enc.c +++ b/libvo/jpeg_enc.c @@ -512,7 +512,7 @@ unsigned char buf[W*H*3/2]; char code[256*1024]; -main() { +main(void) { int i, size; FILE *fp; diff --git a/osdep/glob-win.c b/osdep/glob-win.c index cceb0bebf9..f0764bba37 100644 --- a/osdep/glob-win.c +++ b/osdep/glob-win.c @@ -71,7 +71,7 @@ void globfree(glob_t *pglob) } #if 0 -int main(){ +int main(void){ glob_t gg; printf("globtest\n"); glob( "*.jpeg",0,NULL,&gg ); diff --git a/osdep/timer-darwin.c b/osdep/timer-darwin.c index 9c5a2d6893..68029d1fdc 100644 --- a/osdep/timer-darwin.c +++ b/osdep/timer-darwin.c @@ -94,7 +94,7 @@ void InitTimer() #if 0 #include -int main() { +int main(void) { int i,j, r, c = 200; long long t = 0; diff --git a/osdep/timer-lx.c b/osdep/timer-lx.c index f01cc02509..5b6010b154 100644 --- a/osdep/timer-lx.c +++ b/osdep/timer-lx.c @@ -65,7 +65,7 @@ void InitTimer(void){ #if 0 -void main(){ +void main(void){ float t=0; InitTimer(); while(1){ t+=GetRelativeTime();printf("time= %10.6f\r",t);fflush(stdout); } -- 2.11.4.GIT