From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSWa4-0006aa-1D for qemu-devel@nongnu.org; Mon, 11 Aug 2008 08:33:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSWa2-0006Ya-0W for qemu-devel@nongnu.org; Mon, 11 Aug 2008 08:32:59 -0400 Received: from [199.232.76.173] (port=53738 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSWa1-0006Xz-FX for qemu-devel@nongnu.org; Mon, 11 Aug 2008 08:32:57 -0400 Received: from mx1.redhat.com ([66.187.233.31]:38071) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSWa1-0000Nc-8m for qemu-devel@nongnu.org; Mon, 11 Aug 2008 08:32:57 -0400 From: Gerd Hoffmann Date: Mon, 11 Aug 2008 14:32:43 +0200 Message-Id: <1218457970-11707-5-git-send-email-kraxel@redhat.com> In-Reply-To: <1218457970-11707-1-git-send-email-kraxel@redhat.com> References: <1218457970-11707-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 04/11] 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 3afa0a1..558872c 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 f92ea2e..9946d79 100644 --- a/vl.c +++ b/vl.c @@ -152,8 +152,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