From 77047bb7c234793c7a8db6c3a502eb3d23cc1151 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20F=C3=A4rber?= Date: Sun, 13 Dec 2009 00:55:53 +0100 Subject: [PATCH] Cocoa: Silence warning for cocoa_keycode_to_qemu MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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(-) diff --git a/cocoa.m b/cocoa.m index 989efd5b9a..f80a70bd23 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) { -- 2.11.4.GIT