Commit edcbe5f5 authored by Adam Jackson's avatar Adam Jackson 💣

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.
parent fd66f5c0
Pipeline #105166 passed with stages
in 3 minutes and 24 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment