From 4231b9541c6fd26f43b605ecc9dd76622dd786f7 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Wed, 25 Jan 2012 16:38:49 +0000 Subject: [PATCH] hw/xwin: Fix redundant declaration in winprefs.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit winprefs.c:63:14: error: redundant redeclaration of ‘display’ ../../include/opaque.h:52:14: note: previous declaration of ‘display’ was here Signed-off-by: Jon TURNEY Reviewed-by: Colin Harrison --- hw/xwin/winprefs.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/xwin/winprefs.c b/hw/xwin/winprefs.c index faa97c351..52d1bc11c 100644 --- a/hw/xwin/winprefs.c +++ b/hw/xwin/winprefs.c @@ -57,9 +57,6 @@ extern int parse_file(FILE * fp); /* Currently in use command ID, incremented each new menu item created */ static int g_cmdid = STARTMENUID; -/* Defined in DIX */ -extern char *display; - /* Local function to handle comma-ified icon names */ static HICON LoadImageComma(char *fname, int sx, int sy, int flags);