Fix link failure with gcc 10

Without the 'extern' this looks like a definition not just a
declaration, in every file that includes the header. gcc 10 is stricter
about this kind of multiple definition.
This commit is contained in:
Adam Jackson
2020-02-04 16:38:06 -05:00
parent fd66f5c0be
commit edcbe5f52d

View File

@@ -289,7 +289,7 @@ Bool drmmode_wait_vblank(xf86CrtcPtr crtc, drmVBlankSeqType type,
uint64_t *ust, uint32_t *result_seq);
miPointerSpriteFuncRec drmmode_sprite_funcs;
extern miPointerSpriteFuncRec drmmode_sprite_funcs;
#endif