summaryrefslogtreecommitdiff
path: root/hw/xfree86/dixmods/cfbmodule.c
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/dixmods/cfbmodule.c
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/dixmods/cfbmodule.c')
-rw-r--r--hw/xfree86/dixmods/cfbmodule.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/xfree86/dixmods/cfbmodule.c b/hw/xfree86/dixmods/cfbmodule.c
index 095bc8416..693fd6177 100644
--- a/hw/xfree86/dixmods/cfbmodule.c
+++ b/hw/xfree86/dixmods/cfbmodule.c
@@ -1,4 +1,3 @@
-/* $XFree86: xc/programs/Xserver/cfb/cfbmodule.c,v 1.8 1999/01/26 05:53:48 dawes Exp $ */
/*
* Copyright (C) 1998 The XFree86 Project, Inc. All Rights Reserved.
*
@@ -31,8 +30,6 @@
#define PSZ 8
-#ifdef XFree86LOADER
-
#include "xf86Module.h"
#include "cfb.h"
@@ -52,7 +49,7 @@ static XF86ModuleVersionInfo VersRec =
{0,0,0,0} /* signature, to be patched into the file by a tool */
};
-XF86ModuleData cfbModuleData = { &VersRec, cfbSetup, NULL };
+_X_EXPORT XF86ModuleData cfbModuleData = { &VersRec, cfbSetup, NULL };
static pointer
cfbSetup(pointer module, pointer opts, int *errmaj, int *errmin)
@@ -61,5 +58,3 @@ cfbSetup(pointer module, pointer opts, int *errmaj, int *errmin)
return LoadSubModule(module, "mfb", NULL, NULL, NULL, NULL,
errmaj, errmin);
}
-
-#endif