summaryrefslogtreecommitdiff
path: root/hw/xfree86/xf8_32bpp
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/xf8_32bpp
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/xf8_32bpp')
-rw-r--r--hw/xfree86/xf8_32bpp/cfb8_32module.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/hw/xfree86/xf8_32bpp/cfb8_32module.c b/hw/xfree86/xf8_32bpp/cfb8_32module.c
index 6739b60fc..5afabe52d 100644
--- a/hw/xfree86/xf8_32bpp/cfb8_32module.c
+++ b/hw/xfree86/xf8_32bpp/cfb8_32module.c
@@ -1,12 +1,7 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_32bpp/cfb8_32module.c,v 1.5 1999/01/24 13:32:42 dawes Exp $ */
-
-
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
-#ifdef XFree86LOADER
-
#include "xf86Module.h"
static MODULESETUPPROTO(xf8_32bppSetup);
@@ -25,7 +20,11 @@ static XF86ModuleVersionInfo VersRec =
{0,0,0,0} /* signature, to be patched into the file by a tool */
};
-XF86ModuleData xf8_32bppModuleData = { &VersRec, xf8_32bppSetup, NULL };
+_X_EXPORT XF86ModuleData xf8_32bppModuleData = {
+ &VersRec,
+ xf8_32bppSetup,
+ NULL
+};
static pointer
xf8_32bppSetup(pointer module, pointer opts, int *errmaj, int *errmin)
@@ -38,5 +37,3 @@ xf8_32bppSetup(pointer module, pointer opts, int *errmaj, int *errmin)
return NULL;
return (pointer)1; /* non-NULL required to indicate success */
}
-
-#endif