From 77047bb7c234793c7a8db6c3a502eb3d23cc1151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sun, 13 Dec 2009 00:55:53 +0100 Subject: Cocoa: Silence warning for cocoa_keycode_to_qemu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make cocoa_keycode_to_qemu static, to avoid: warning: no previous prototype for ‘cocoa_keycode_to_qemu’ Signed-off-by: Andreas Färber Cc: John Arbuckle Signed-off-by: malc --- cocoa.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa.m') diff --git a/cocoa.m b/cocoa.m index 989efd5b9..f80a70bd2 100644 --- a/cocoa.m +++ b/cocoa.m @@ -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) { -- cgit v1.2.3