[MPlayer-cvslog] r28634 - in trunk: cpuinfo.c loader/qtx/list.c loader/qtx/qtxload.c

diego subversion at mplayerhq.hu
Tue Feb 17 13:00:43 CET 2009


Author: diego
Date: Tue Feb 17 13:00:43 2009
New Revision: 28634

Log:
cosmetics: Replace unused 'argc/argv' in main declarations by 'void'.

Modified:
   trunk/cpuinfo.c
   trunk/loader/qtx/list.c
   trunk/loader/qtx/qtxload.c

Modified: trunk/cpuinfo.c
==============================================================================
--- trunk/cpuinfo.c	Tue Feb 17 12:59:49 2009	(r28633)
+++ trunk/cpuinfo.c	Tue Feb 17 13:00:43 2009	(r28634)
@@ -105,7 +105,7 @@ store32(char *d, unsigned int v)
 
 
 int
-main(int argc, char **argv)
+main(void)
 {
   cpuid_regs_t regs, regs_ext;
   char idstr[13];

Modified: trunk/loader/qtx/list.c
==============================================================================
--- trunk/loader/qtx/list.c	Tue Feb 17 12:59:49 2009	(r28633)
+++ trunk/loader/qtx/list.c	Tue Feb 17 13:00:43 2009	(r28634)
@@ -18,7 +18,7 @@ void* GetProcAddress(void* handle,char* 
 #define __cdecl   __attribute__((__cdecl__))
 #define APIENTRY 
 
-int main(int argc, char *argv[]){
+int main(void) {
     void *handler;
     ComponentDescription desc;
     Component (*FindNextComponent)(Component prev,ComponentDescription* desc);

Modified: trunk/loader/qtx/qtxload.c
==============================================================================
--- trunk/loader/qtx/qtxload.c	Tue Feb 17 12:59:49 2009	(r28633)
+++ trunk/loader/qtx/qtxload.c	Tue Feb 17 13:00:43 2009	(r28634)
@@ -33,7 +33,7 @@ unsigned int* x_table[0x00001837];
 
 static    OSErr (*InitializeQTML)(long flags);
 
-int main(int argc, char *argv[]){
+int main(void) {
     void *handler;
     void *handler2;
     void* theqtdp=NULL;



More information about the MPlayer-cvslog mailing list