Adds missing function prototype int cocoa_keycode_to_qemu(int keycode) to cocoa.m
PATCH 1/1 Adds missing function prototype int cocoa_keycode_to_qemu(int keycode) to cocoa.m
This patch adds the missing function prototype cocoa_keycode_to_qemu to cocoa.m.
Signed-off-by John Arbuckle <[email protected]>
--- cocoa.m | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
cocoa.m +1 -0
@@ -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;
Signature · 1 line
1.6.3.3
Am 13.07.2009 um 22:37 schrieb G 3:
Quoted 15 lines
This patch adds the missing function prototype
cocoa_keycode_to_qemuto cocoa.m.Signed-off-by John Arbuckle <[email protected]>---
cocoa.m | 1 +1 files changed, 1 insertions(+), 0 deletions(-)cocoa.m +0
-0@@ -62,6 +62,7 @@ typedef struct { } QEMUScreen;
Quoted 5 lines
int
qemu_main(int argc, char **argv); // main defined inqemu/vl.c+intcocoa_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