[PATCH xserver 1/6] dmx: Fix a silly redeclaration bug

Adam Jackson ajax at redhat.com
Wed Sep 27 18:31:34 UTC 2017


../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 <ajax at redhat.com>
---
 hw/dmx/dmx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/dmx/dmx.c b/hw/dmx/dmx.c
index 88fe9d3d48..0ae14a21b7 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;
-- 
2.13.5



More information about the xorg-devel mailing list