[MPlayer-cvslog] r24307 - in trunk/drivers: mga_vid_test.c tdfx_vid_test.c

diego subversion at mplayerhq.hu
Fri Aug 31 13:57:57 CEST 2007


Author: diego
Date: Fri Aug 31 13:57:57 2007
New Revision: 24307

Log:
warning fixes:
mga_vid_test.c: In function ‘main’:
mga_vid_test.c:157: warning: unused parameter ‘argc’
mga_vid_test.c:157: warning: unused parameter ‘argv’
tdfx_vid_test.c: In function ‘main’:
tdfx_vid_test.c:26: warning: unused parameter ‘argc’
tdfx_vid_test.c:26: warning: unused parameter ‘argv’


Modified:
   trunk/drivers/mga_vid_test.c
   trunk/drivers/tdfx_vid_test.c

Modified: trunk/drivers/mga_vid_test.c
==============================================================================
--- trunk/drivers/mga_vid_test.c	(original)
+++ trunk/drivers/mga_vid_test.c	Fri Aug 31 13:57:57 2007
@@ -154,7 +154,7 @@ draw_color_blend(void)
 
 
 int 
-main(int argc, char *argv[])
+main(void)
 {
 	int f;
 

Modified: trunk/drivers/tdfx_vid_test.c
==============================================================================
--- trunk/drivers/tdfx_vid_test.c	(original)
+++ trunk/drivers/tdfx_vid_test.c	Fri Aug 31 13:57:57 2007
@@ -23,7 +23,7 @@ static void print_tdfd_vid_cfg(tdfx_vid_
 }
      
 
-int main(int argc, char** argv) {
+int main(void) {
   int fd;
   unsigned char *mem;
   /* int i; */



More information about the MPlayer-cvslog mailing list