diff options
author | Adam Jackson <ajax@redhat.com> | 2017-09-27 14:31:34 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-10-04 11:18:49 -0400 |
commit | eb25facb37ef74eab83060b75f8205ce1538817f (patch) | |
tree | 2611a059590a8d2e767cb3882566d0cf18d30d24 | |
parent | 8060196a3e80a3c0ad2c0abbe459416821cd366c (diff) |
dmx: Fix a silly redeclaration bug
../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>
Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r-- | hw/dmx/dmx.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |