mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-09 02:39:00 +00:00
Fix for GCC 10 activating stricter check for extern variables / structs
From Kevin Brace edb46574d4686c59e80569ba236d537097dcdd0e in xf86-video-openchrome git fixes clang 11 build mortimer@ had the same diff ok fcambus@
This commit is contained in:
@@ -358,8 +358,8 @@ typedef struct
|
||||
|
||||
|
||||
/* In via_display.c. */
|
||||
const xf86CrtcFuncsRec iga1_crtc_funcs;
|
||||
const xf86CrtcFuncsRec iga2_crtc_funcs;
|
||||
extern const xf86CrtcFuncsRec iga1_crtc_funcs;
|
||||
extern const xf86CrtcFuncsRec iga2_crtc_funcs;
|
||||
|
||||
/* In via_exa.c. */
|
||||
Bool viaInitExa(ScreenPtr pScreen);
|
||||
|
||||
@@ -51,7 +51,7 @@ typedef struct _viaSiI164 {
|
||||
} viaSiI164Rec, *viaSiI164RecPtr;
|
||||
|
||||
|
||||
const xf86OutputFuncsRec via_sii164_funcs;
|
||||
extern const xf86OutputFuncsRec via_sii164_funcs;
|
||||
|
||||
Bool viaSiI164Probe(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus);
|
||||
void viaSiI164Init(ScrnInfoPtr pScrn);
|
||||
|
||||
@@ -49,7 +49,7 @@ typedef struct _VIAVT1632 {
|
||||
} viaVT1632Rec, *viaVT1632RecPtr;
|
||||
|
||||
|
||||
const xf86OutputFuncsRec via_vt1632_funcs;
|
||||
extern const xf86OutputFuncsRec via_vt1632_funcs;
|
||||
|
||||
Bool viaVT1632Probe(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus);
|
||||
void viaVT1632Init(ScrnInfoPtr pScrn);
|
||||
|
||||
Reference in New Issue
Block a user