mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-14 05:14:45 +00:00
HACK xaverius: Phase A C7 fix — resource types before registration, init symbol declared
- Call xaverius_device_init() before XaveriusRegistryInit() so DIX resource types exist before AddResource (C7) - Call xaverius_device_fini() in xaverius_extension_fini() for symmetry - Declare XaveriusExtensionInit() in xaverius.h (symbol consistency) - Build clean (-Dwerror, no warnings)
This commit is contained in:
parent
6dffb09bf0
commit
98ce6f6f28
2 changed files with 3 additions and 0 deletions
|
|
@ -50,4 +50,5 @@ void
|
|||
xaverius_extension_fini(void)
|
||||
{
|
||||
XaveriusRegistryFini();
|
||||
xaverius_device_fini();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -280,6 +280,8 @@ typedef struct _XaveriusMemoryRec {
|
|||
void xaverius_extension_init(void);
|
||||
void xaverius_extension_fini(void);
|
||||
|
||||
void XaveriusExtensionInit(void);
|
||||
|
||||
int ProcXAveriusDispatch(ClientPtr client);
|
||||
int SProcXAveriusDispatch(ClientPtr client);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue