From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWD1M-0002IP-KK for qemu-devel@nongnu.org; Thu, 21 Aug 2008 12:28:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWD1I-0002GQ-D3 for qemu-devel@nongnu.org; Thu, 21 Aug 2008 12:28:21 -0400 Received: from [199.232.76.173] (port=37103 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWD1H-0002Fq-JU for qemu-devel@nongnu.org; Thu, 21 Aug 2008 12:28:19 -0400 Received: from mx1.redhat.com ([66.187.233.31]:46323) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KWD1G-0005xd-DW for qemu-devel@nongnu.org; Thu, 21 Aug 2008 12:28:18 -0400 From: Gerd Hoffmann Date: Thu, 21 Aug 2008 18:27:25 +0200 Message-Id: <1219336054-15919-5-git-send-email-kraxel@redhat.com> In-Reply-To: <1219336054-15919-1-git-send-email-kraxel@redhat.com> References: <1219336054-15919-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 04/13] move GUI_REFRESH_INTERVAL define from vl.c to console.h Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, xen-devel@lists.xensource.com Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- console.h | 3 +++ vl.c | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/console.h b/console.h index 233e7ef..069e73d 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 ee89107..3211507 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 -- 1.5.5.1