Am 13.07.2009 um 22:37 schrieb G 3:
This patch adds the missing function prototype cocoa_keycode_to_qemu
to cocoa.m.
Signed-off-by: John Arbuckle <programmingk...@gmail.com>
---
cocoa.m | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/cocoa.m b/cocoa.m
index 3bf1a87..1e5fbe8 100644
--- a/cocoa.m
+++ b/cocoa.m
@@ -62,6 +62,7 @@ typedef struct {
} QEMUScreen;
int qemu_main(int argc, char **argv); // main defined in qemu/vl.c
+int cocoa_keycode_to_qemu(int keycode);
NSWindow *normalWindow;
id cocoaView;
static DisplayChangeListener *dcl;
I've fixed that warning slightly different in my recent patch: We
don't appear to need a declaration, adding static to the definition is
sufficient.
Andreas