Message ID | 1260672941-9365-3-git-send-email-andreas.faerber@web.de |
---|---|
State | New |
Headers | show |
diff --git a/cocoa.m b/cocoa.m index 989efd5..f80a70b 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) {
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> --- cocoa.m | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)