summaryrefslogtreecommitdiff
path: root/cocoa.m
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-22 21:25:04 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-22 21:25:04 +0000
commitcae41b10a4c7bd76e582bd9ed7fc9480b72c9709 (patch)
tree1c49ebd3449bbdd0351cc465b4b74785c1dfc88d /cocoa.m
parent6106487019177fa2bf61fa1beab11b3b113ad858 (diff)
downloadqemu-cae41b10a4c7bd76e582bd9ed7fc9480b72c9709.tar.gz
qemu-cae41b10a4c7bd76e582bd9ed7fc9480b72c9709.tar.bz2
qemu-cae41b10a4c7bd76e582bd9ed7fc9480b72c9709.zip
fix missing type declarations (Joachim Henke)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1932 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cocoa.m')
-rw-r--r--cocoa.m9
1 files changed, 4 insertions, 5 deletions
diff --git a/cocoa.m b/cocoa.m
index b508b52144..65f1fc324f 100644
--- 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;
}