提交 77047bb7 编写于 作者: A Andreas Färber 提交者: malc

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: NAndreas Färber <andreas.faerber@web.de>
Cc: John Arbuckle <programmingkidx@gmail.com>
Signed-off-by: Nmalc <av1474@comtv.ru>
上级 44e4c0ba
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册