fix missing type declarations (Joachim Henke)
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 22 May 2006 21:25:04 +0000 (21:25 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 22 May 2006 21:25:04 +0000 (21:25 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1932 c046a42c-6fe2-441c-8c8c-71466251a162

cocoa.m

diff --git a/cocoa.m b/cocoa.m
index b508b52..65f1fc3 100644 (file)
--- a/cocoa.m
+++ b/cocoa.m
@@ -867,10 +867,9 @@ static void setupWindowMenu(void)
     /* Finally give up our references to the objects */
     [windowMenu release];
     [windowMenuItem release];
 }
 
-static void CustomApplicationMain (argc, argv)
+static void CustomApplicationMain(void)
 {
     NSAutoreleasePool   *pool = [[NSAutoreleasePool alloc] init];
     QemuCocoaGUIController *gui_controller;
@@ -904,8 +903,8 @@ int main(int argc, char **argv)
 {
     gArgc = argc;
     gArgv = argv;
-    
-    CustomApplicationMain (argc, argv);
-    
+
+    CustomApplicationMain();
+
     return 0;
 }