changeset 25100:531116b7693d

main() --> main(void)
author diego
date Wed, 21 Nov 2007 09:22:33 +0000
parents aa166b26298d
children 10a3f5b4ee20
files liba52/test.c libvo/font_load.c libvo/jpeg_enc.c osdep/glob-win.c osdep/timer-darwin.c osdep/timer-lx.c
diffstat 6 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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);
 
--- 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;
 
--- 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 );
--- 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 <stdio.h>
 
-int main() {
+int main(void) {
   int i,j, r, c = 200;
   long long t = 0;
   
--- 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); }