aboutsummaryrefslogtreecommitdiff
path: root/cocoa.m
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2009-12-13 00:55:53 +0100
committermalc <av1474@comtv.ru>2010-01-07 10:57:32 +0300
commit77047bb7c234793c7a8db6c3a502eb3d23cc1151 (patch)
tree6240837aa90d56f53d62b51975a5d8be8b2e592e /cocoa.m
parent44e4c0ba863b0be130d0e87e71f456b8b529addb (diff)
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>
Diffstat (limited to 'cocoa.m')
-rw-r--r--cocoa.m2
1 files changed, 1 insertions, 1 deletions
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)
{