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>
This commit is contained in:
parent
8060196a3e
commit
eb25facb37
|
@ -63,7 +63,6 @@
|
||||||
|
|
||||||
#ifdef PANORAMIX
|
#ifdef PANORAMIX
|
||||||
#include "panoramiXsrv.h"
|
#include "panoramiXsrv.h"
|
||||||
extern int PanoramiXNumScreens;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static unsigned char DMXCode;
|
static unsigned char DMXCode;
|
||||||
|
|
Loading…
Reference in New Issue