diff options
author | bellard <bellard> | 2006-05-22 21:25:04 +0000 |
---|---|---|
committer | bellard <bellard> | 2006-05-22 21:25:04 +0000 |
commit | 785de0ef6e7fa4e52bffeb8c6db1cedbf0a10573 (patch) | |
tree | e2d0e0882c450efb0fec0a823cb2ed1dc5e18274 | |
parent | 8f51fce284771e9f87c7d0393559b8c58660a3df (diff) |
fix missing type declarations (Joachim Henke)
-rw-r--r-- | qemu/cocoa.m | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/qemu/cocoa.m b/qemu/cocoa.m index b508b521..65f1fc32 100644 --- a/qemu/cocoa.m +++ b/qemu/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; } |