cocoa: Provide central qemu_main() prototype
authorAndreas Färber <andreas.faerber@web.de>
Sun, 29 May 2011 17:42:51 +0000 (19:42 +0200)
committerAndreas Färber <andreas.faerber@web.de>
Tue, 14 Jun 2011 01:08:58 +0000 (03:08 +0200)
commitfe2dffcce115fa24702fb671a162030b659470b4
tree0aec9698c528b14112af56123296f56da0f21d6c
parent710ad9f0742ec0d4d45969982c96597a0548a1a6
cocoa: Provide central qemu_main() prototype

This fixes a missing prototype warning in vl.c and obsoletes
the prototype in cocoa.m. Adjust callers in cocoa.m to supply
third argument, which is currently only used on Linux/ppc.

The prototype is designed so that it could be shared with SDL
and other frontends, if desired.

Cc: Alexandre Raymond <cerbere@gmail.com>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
qemu-common.h
ui/cocoa.m