Commit cae41b10a4c7bd76e582bd9ed7fc9480b72c9709
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
cocoa.m
... | ... | @@ -867,10 +867,9 @@ static void setupWindowMenu(void) |
867 | 867 | /* Finally give up our references to the objects */ |
868 | 868 | [windowMenu release]; |
869 | 869 | [windowMenuItem release]; |
870 | - | |
871 | 870 | } |
872 | 871 | |
873 | -static void CustomApplicationMain (argc, argv) | |
872 | +static void CustomApplicationMain(void) | |
874 | 873 | { |
875 | 874 | NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; |
876 | 875 | QemuCocoaGUIController *gui_controller; |
... | ... | @@ -904,8 +903,8 @@ int main(int argc, char **argv) |
904 | 903 | { |
905 | 904 | gArgc = argc; |
906 | 905 | gArgv = argv; |
907 | - | |
908 | - CustomApplicationMain (argc, argv); | |
909 | - | |
906 | + | |
907 | + CustomApplicationMain(); | |
908 | + | |
910 | 909 | return 0; |
911 | 910 | } | ... | ... |