dmx: Fix some redeclaration warnings from gcc 11
Of the form: ../hw/dmx/config/xdmxconfig.c:68:26: warning: redundant redeclaration of ‘dmxConfigEntry’ [-Wredundant-decls] 68 | extern DMXConfigEntryPtr dmxConfigEntry; | ^~~~~~~~~~~~~~
This commit is contained in:
parent
b49f0f9b32
commit
1f720dc9a3
|
@ -72,7 +72,6 @@ typedef struct DMXConfigCmdStruct {
|
||||||
DMXConfigList *xinputs;
|
DMXConfigList *xinputs;
|
||||||
} DMXConfigCmd, *DMXConfigCmdPtr;
|
} DMXConfigCmd, *DMXConfigCmdPtr;
|
||||||
|
|
||||||
extern DMXConfigEntryPtr dmxConfigEntry;
|
|
||||||
static DMXConfigCmd dmxConfigCmd;
|
static DMXConfigCmd dmxConfigCmd;
|
||||||
|
|
||||||
static int dmxDisplaysFromCommandLine;
|
static int dmxDisplaysFromCommandLine;
|
||||||
|
|
|
@ -65,7 +65,6 @@ extern FILE *yyin;
|
||||||
#define DMX_CANVAS_WIDTH 400
|
#define DMX_CANVAS_WIDTH 400
|
||||||
#define DMX_CANVAS_HEIGHT 500
|
#define DMX_CANVAS_HEIGHT 500
|
||||||
|
|
||||||
extern DMXConfigEntryPtr dmxConfigEntry;
|
|
||||||
static DMXConfigVirtualPtr dmxConfigCurrent, dmxConfigNewVirtual;
|
static DMXConfigVirtualPtr dmxConfigCurrent, dmxConfigNewVirtual;
|
||||||
static DMXConfigDisplayPtr dmxConfigCurrentDisplay, dmxConfigNewDisplay;
|
static DMXConfigDisplayPtr dmxConfigCurrentDisplay, dmxConfigNewDisplay;
|
||||||
static int dmxConfigGrabbed, dmxConfigGrabbedFine;
|
static int dmxConfigGrabbed, dmxConfigGrabbedFine;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user