[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    [PATCH xserver 1/6] dmx: Fix a silly redeclaration bug
From:       Adam Jackson <ajax () redhat ! com>
Date:       2017-09-27 18:31:34
Message-ID: 20170927183139.20731-1-ajax () redhat ! com
[Download RAW message or body]

../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@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

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic