mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-29 21:46:40 +00:00
Ensure all *ModuleData symbols are marked _X_EXPORT. Start removing
XFree86LOADER ifdefs, non-loadable hasn't been supported for a while
now. Remove completely gratuitious REMOVE_LOADER_CHECK_MODULE_INFO
ifdefs surrounding a call to a function added in XFree86 4.1 (!).
Miscellaneous static markings.
This commit is contained in:
parent
d22582dc5a
commit
52fc7c8dc7
40 changed files with 106 additions and 201 deletions
|
|
@ -168,9 +168,9 @@ static XF86ModuleVersionInfo exaVersRec =
|
|||
{0,0,0,0}
|
||||
};
|
||||
|
||||
XF86ModuleData exaModuleData = { &exaVersRec, exaSetup, NULL };
|
||||
_X_EXPORT XF86ModuleData exaModuleData = { &exaVersRec, exaSetup, NULL };
|
||||
|
||||
ModuleInfoRec EXA = {
|
||||
static ModuleInfoRec EXA = {
|
||||
1,
|
||||
"EXA",
|
||||
NULL,
|
||||
|
|
@ -186,9 +186,6 @@ exaSetup(pointer Module, pointer Options, int *ErrorMajor, int *ErrorMinor)
|
|||
|
||||
if (!Initialised) {
|
||||
Initialised = TRUE;
|
||||
#ifndef REMOVE_LOADER_CHECK_MODULE_INFO
|
||||
if (xf86LoaderCheckSymbol("xf86AddModuleInfo"))
|
||||
#endif
|
||||
xf86AddModuleInfo(&EXA, Module);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue