From eb25facb37ef74eab83060b75f8205ce1538817f Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 27 Sep 2017 14:31:34 -0400 Subject: dmx: Fix a silly redeclaration bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../hw/dmx/dmx.c:66:12: warning: redundant redeclaration of ‘PanoramiXNumScreens’ [-Wredundant-decls] extern int PanoramiXNumScreens; ^~~~~~~~~~~~~~~~~~~ In file included from ../hw/dmx/dmx.c:65:0: ../Xext/panoramiXsrv.h:11:22: note: previous declaration of ‘PanoramiXNumScreens’ was here extern _X_EXPORT int PanoramiXNumScreens; ^~~~~~~~~~~~~~~~~~~ Signed-off-by: Adam Jackson Reviewed-by: Eric Anholt --- hw/dmx/dmx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/dmx/dmx.c b/hw/dmx/dmx.c index 88fe9d3d4..0ae14a21b 100644 --- a/hw/dmx/dmx.c +++ b/hw/dmx/dmx.c @@ -63,7 +63,6 @@ #ifdef PANORAMIX #include "panoramiXsrv.h" -extern int PanoramiXNumScreens; #endif static unsigned char DMXCode; -- cgit v1.2.3