aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-21 20:12:05 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-21 20:12:05 +0000
commit7ed9eba3848b99cc6adba520fe5dcdfbe32d657e (patch)
tree22dcb9035c36b6dcd82cfb2aa7f0d1932139b1d7
parent62a6e3e19a35e19a66abe6eec66005defac06d7c (diff)
move GUI_REFRESH_INTERVAL define from vl.c to console.h (Gerd Hoffmann)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5058 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--console.h3
-rw-r--r--vl.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/console.h b/console.h
index 233e7ef4d4..069e73dda0 100644
--- a/console.h
+++ b/console.h
@@ -9,6 +9,9 @@
#define MOUSE_EVENT_RBUTTON 0x02
#define MOUSE_EVENT_MBUTTON 0x04
+/* in ms */
+#define GUI_REFRESH_INTERVAL 30
+
typedef void QEMUPutKBDEvent(void *opaque, int keycode);
typedef void QEMUPutMouseEvent(void *opaque, int dx, int dy, int dz, int buttons_state);
diff --git a/vl.c b/vl.c
index ba4af26a75..ac63b64069 100644
--- a/vl.c
+++ b/vl.c
@@ -154,8 +154,6 @@ int inet_aton(const char *cp, struct in_addr *ia);
#else
#define DEFAULT_RAM_SIZE 128
#endif
-/* in ms */
-#define GUI_REFRESH_INTERVAL 30
/* Max number of USB devices that can be specified on the commandline. */
#define MAX_USB_CMDLINE 8