[MPlayer-cvslog] r25128 - in trunk: liba52/test.c libvo/font_load.c libvo/jpeg_enc.c osdep/glob-win.c osdep/timer-darwin.c osdep/timer-lx.c

diego subversion at mplayerhq.hu
Wed Nov 21 10:22:33 CET 2007


Author: diego
Date: Wed Nov 21 10:22:33 2007
New Revision: 25128

Log:
main() --> main(void)


Modified:
   trunk/liba52/test.c
   trunk/libvo/font_load.c
   trunk/libvo/jpeg_enc.c
   trunk/osdep/glob-win.c
   trunk/osdep/timer-darwin.c
   trunk/osdep/timer-lx.c

Modified: trunk/liba52/test.c
==============================================================================
--- trunk/liba52/test.c	(original)
+++ trunk/liba52/test.c	Wed Nov 21 10:22:33 2007
@@ -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;

Modified: trunk/libvo/font_load.c
==============================================================================
--- trunk/libvo/font_load.c	(original)
+++ trunk/libvo/font_load.c	Wed Nov 21 10:22:33 2007
@@ -337,7 +337,7 @@ fail_out:
 }
 
 #if 0
-int main(){
+int main(void){
 
 read_font_desc("high_arpi.desc",1);
 

Modified: trunk/libvo/jpeg_enc.c
==============================================================================
--- trunk/libvo/jpeg_enc.c	(original)
+++ trunk/libvo/jpeg_enc.c	Wed Nov 21 10:22:33 2007
@@ -512,7 +512,7 @@ unsigned char buf[W*H*3/2];
 char code[256*1024];
 
 
-main() {
+main(void) {
 	int i, size;
 	FILE *fp;
 

Modified: trunk/osdep/glob-win.c
==============================================================================
--- trunk/osdep/glob-win.c	(original)
+++ trunk/osdep/glob-win.c	Wed Nov 21 10:22:33 2007
@@ -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 );

Modified: trunk/osdep/timer-darwin.c
==============================================================================
--- trunk/osdep/timer-darwin.c	(original)
+++ trunk/osdep/timer-darwin.c	Wed Nov 21 10:22:33 2007
@@ -94,7 +94,7 @@ void InitTimer()
 #if 0
 #include <stdio.h>
 
-int main() {
+int main(void) {
   int i,j, r, c = 200;
   long long t = 0;
   

Modified: trunk/osdep/timer-lx.c
==============================================================================
--- trunk/osdep/timer-lx.c	(original)
+++ trunk/osdep/timer-lx.c	Wed Nov 21 10:22:33 2007
@@ -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); }



More information about the MPlayer-cvslog mailing list