mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user