summaryrefslogtreecommitdiff
path: root/hw/xfree86/exa
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-06-05 03:00:24 +0000
committerAdam Jackson <ajax@nwnk.net>2006-06-05 03:00:24 +0000
commit52fc7c8dc70226cc7f03454e9be86a627672295f (patch)
treeecba684625dd0a7c561a261c6fe0fd36515b7af7 /hw/xfree86/exa
parentd22582dc5a070f72d4653e24d1e4ebe4a112276e (diff)
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.
Diffstat (limited to 'hw/xfree86/exa')
-rw-r--r--hw/xfree86/exa/examodule.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/hw/xfree86/exa/examodule.c b/hw/xfree86/exa/examodule.c
index cc3a9d4f2..0a7b361c8 100644
--- a/hw/xfree86/exa/examodule.c
+++ b/hw/xfree86/exa/examodule.c
@@ -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);
}