Skip to contentSkip to conversation

Adds missing function prototype int cocoa_keycode_to_qemu(int keycode) to cocoa.m

PATCH In review G 3 2 participants 2 messages Jul 13, 2009 – Dec 6, 2009

lore
Share & tools
lore

G 3

author
#0 lore raw

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.

---
 cocoa.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
cocoa.m +1 -0
index 3bf1a87..1e5fbe8 100644
@@ -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
#1 lore raw

Am 13.07.2009 um 22:37 schrieb G 3:

Quoted 15 lines

This patch adds the missing function prototype cocoa_keycode_to_qemu to cocoa.m.

---
cocoa.m | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)
cocoa.m +0 -0
index 3bf1a87..1e5fbe8 100644
@@ -62,6 +62,7 @@ typedef struct {
 } QEMUScreen;
 
Quoted 5 lines

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