From patchwork Wed Jan 6 22:47:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [v2,RESEND,02/11] Cocoa: Silence warning for cocoa_keycode_to_qemu Date: Wed, 06 Jan 2010 12:47:08 -0000 From: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 42349 Message-Id: <1262818037-926-3-git-send-email-andreas.faerber@web.de> To: qemu-devel@nongnu.org Cc: John Arbuckle , =?UTF-8?q?Andreas=20F=C3=A4rber?= 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 --- cocoa.m | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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) {