diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-06-05 03:00:24 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-06-05 03:00:24 +0000 |
commit | 52fc7c8dc70226cc7f03454e9be86a627672295f (patch) | |
tree | ecba684625dd0a7c561a261c6fe0fd36515b7af7 /hw/xfree86/dixmods/afbmodule.c | |
parent | d22582dc5a070f72d4653e24d1e4ebe4a112276e (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/afbmodule.c')
-rw-r--r-- | hw/xfree86/dixmods/afbmodule.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/xfree86/dixmods/afbmodule.c b/hw/xfree86/dixmods/afbmodule.c index d9cdbf9c3..ee8cf2037 100644 --- a/hw/xfree86/dixmods/afbmodule.c +++ b/hw/xfree86/dixmods/afbmodule.c @@ -1,4 +1,3 @@ -/* $XFree86: xc/programs/Xserver/afb/afbmodule.c,v 1.1 1999/06/13 13:47:38 dawes Exp $ */ /* * Copyright (C) 1998 The XFree86 Project, Inc. All Rights Reserved. * @@ -29,8 +28,6 @@ #include <xorg-config.h> #endif -#ifdef XFree86LOADER - #include "xf86Module.h" #include "afb.h" @@ -50,7 +47,7 @@ static XF86ModuleVersionInfo VersRec = {0,0,0,0} /* signature, to be patched into the file by a tool */ }; -XF86ModuleData afbModuleData = { &VersRec, afbSetup, NULL }; +_X_EXPORT XF86ModuleData afbModuleData = { &VersRec, afbSetup, NULL }; static pointer afbSetup(pointer module, pointer opts, int *errmaj, int *errmin) @@ -59,5 +56,3 @@ afbSetup(pointer module, pointer opts, int *errmaj, int *errmin) return LoadSubModule(module, "mfb", NULL, NULL, NULL, NULL, errmaj, errmin); } - -#endif |