diff options
author | Andreas Färber <andreas.faerber@web.de> | 2009-12-13 00:55:53 +0100 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2010-01-07 10:57:32 +0300 |
commit | 77047bb7c234793c7a8db6c3a502eb3d23cc1151 (patch) | |
tree | 6240837aa90d56f53d62b51975a5d8be8b2e592e | |
parent | 44e4c0ba863b0be130d0e87e71f456b8b529addb (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>
-rw-r--r-- | cocoa.m | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |