projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44e4c0b
)
Cocoa: Silence warning for cocoa_keycode_to_qemu
author
Andreas Färber
<andreas.faerber@web.de>
Sat, 12 Dec 2009 23:55:53 +0000
(
00:55
+0100)
committer
malc
<av1474@comtv.ru>
Thu, 7 Jan 2010 07:57:32 +0000
(10:57 +0300)
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>
cocoa.m
patch
|
blob
|
history
diff --git
a/cocoa.m
b/cocoa.m
index 989efd5b9a9b252779a100e04720ed11b573c589..f80a70bd23c01ddafe8eab4fe4fdc9975be72a97 100644
(file)
--- 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)
{