Commit cae41b10a4c7bd76e582bd9ed7fc9480b72c9709

Authored by bellard
1 parent 61064870

fix missing type declarations (Joachim Henke)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1932 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 4 additions and 5 deletions
@@ -867,10 +867,9 @@ static void setupWindowMenu(void) @@ -867,10 +867,9 @@ static void setupWindowMenu(void)
867 /* Finally give up our references to the objects */ 867 /* Finally give up our references to the objects */
868 [windowMenu release]; 868 [windowMenu release];
869 [windowMenuItem release]; 869 [windowMenuItem release];
870 -  
871 } 870 }
872 871
873 -static void CustomApplicationMain (argc, argv) 872 +static void CustomApplicationMain(void)
874 { 873 {
875 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 874 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
876 QemuCocoaGUIController *gui_controller; 875 QemuCocoaGUIController *gui_controller;
@@ -904,8 +903,8 @@ int main(int argc, char **argv) @@ -904,8 +903,8 @@ int main(int argc, char **argv)
904 { 903 {
905 gArgc = argc; 904 gArgc = argc;
906 gArgv = argv; 905 gArgv = argv;
907 -  
908 - CustomApplicationMain (argc, argv);  
909 - 906 +
  907 + CustomApplicationMain();
  908 +
910 return 0; 909 return 0;
911 } 910 }