]> git.proxmox.com Git - qemu.git/commit - qemu-common.h
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)
commit3bbbee18a4e72f92a5830d6937ec50c441ec7826
tree0aec9698c528b14112af56123296f56da0f21d6c
parentd3922ab5fa791ac1546140f2a8df86d632d8fd6a
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