Cocoa: Silence warning for cocoa_keycode_to_qemu

Make cocoa_keycode_to_qemu static, to avoid:

warning: no previous prototype for ‘cocoa_keycode_to_qemu’

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Cc: John Arbuckle <programmingkidx@gmail.com>
Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
Andreas Färber 2009-12-13 00:55:53 +01:00 committed by malc
parent 44e4c0ba86
commit 77047bb7c2

View File

@ -233,7 +233,7 @@ int keymap[] =
*/ */
}; };
int cocoa_keycode_to_qemu(int keycode) static int cocoa_keycode_to_qemu(int keycode)
{ {
if((sizeof(keymap)/sizeof(int)) <= keycode) if((sizeof(keymap)/sizeof(int)) <= keycode)
{ {