qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Adds missing function prototype int cocoa_keyco


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH] Adds missing function prototype int cocoa_keycode_to_qemu(int keycode) to cocoa.m
Date: Sun, 6 Dec 2009 14:29:20 +0100


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 <address@hidden>

---
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]