hw/xwin: Fix redundant declaration in winprefs.c

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 <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
Jon TURNEY 2012-01-25 16:38:49 +00:00
parent 70087c55ff
commit 4231b9541c

View File

@ -57,9 +57,6 @@ extern int parse_file(FILE * fp);
/* Currently in use command ID, incremented each new menu item created */ /* Currently in use command ID, incremented each new menu item created */
static int g_cmdid = STARTMENUID; static int g_cmdid = STARTMENUID;
/* Defined in DIX */
extern char *display;
/* Local function to handle comma-ified icon names */ /* Local function to handle comma-ified icon names */
static HICON LoadImageComma(char *fname, int sx, int sy, int flags); static HICON LoadImageComma(char *fname, int sx, int sy, int flags);