Commit 52fc7c8d authored by Adam Jackson's avatar Adam Jackson 🎧

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.
parent d22582dc
......@@ -3,6 +3,51 @@
* hw/xfree86/loader/dixsym.c:
Remove a stray LBX reference.
* hw/xfree86/ddc/xf86DDC.c:
* hw/xfree86/dixmods/GLcoremodule.c:
* hw/xfree86/dixmods/afbmodule.c:
* hw/xfree86/dixmods/cfb32module.c:
* hw/xfree86/dixmods/cfbmodule.c:
* hw/xfree86/dixmods/dbemodule.c:
* hw/xfree86/dixmods/fbmodule.c:
* hw/xfree86/dixmods/ftmodule.c:
* hw/xfree86/dixmods/glxmodule.c:
* hw/xfree86/dixmods/mfbmodule.c:
* hw/xfree86/dixmods/recordmod.c:
* hw/xfree86/dixmods/shmodule.c:
* hw/xfree86/dixmods/type1mod.c:
* hw/xfree86/dixmods/xf86XTrapModule.c:
* hw/xfree86/dixmods/extmod/modinit.c:
* hw/xfree86/dri/drimodule.c:
* hw/xfree86/exa/examodule.c:
* hw/xfree86/fbdevhw/fbdevhw.c:
* hw/xfree86/i2c/bt829_module.c:
* hw/xfree86/i2c/fi1236_module.c:
* hw/xfree86/i2c/msp3430_module.c:
* hw/xfree86/i2c/tda8425_module.c:
* hw/xfree86/i2c/tda9850_module.c:
* hw/xfree86/i2c/tda9885_module.c:
* hw/xfree86/i2c/uda1380_module.c:
* hw/xfree86/i2c/xf86i2cmodule.c:
* hw/xfree86/int10/xf86int10module.c:
* hw/xfree86/os-support/drm/drmmodule.c:
* hw/xfree86/rac/xf86RACmodule.c:
* hw/xfree86/ramdac/xf86RamDacMod.c:
* hw/xfree86/scanpci/xf86ScanPci.c:
* hw/xfree86/shadowfb/sfbmodule.c:
* hw/xfree86/vbe/vbe_module.c:
* hw/xfree86/vgahw/vgaHWmodule.c:
* hw/xfree86/xaa/xaaInitAccel.c:
* hw/xfree86/xf1bpp/mfbmodule.c:
* hw/xfree86/xf4bpp/vgamodule.c:
* hw/xfree86/xf8_16bpp/xf8_16module.c:
* hw/xfree86/xf8_32bpp/cfb8_32module.c:
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.
2006-06-03 Daniel Stone <daniel@freedesktop.org>
* configure.ac:
......
/* $XFree86: xc/programs/Xserver/hw/xfree86/ddc/xf86DDC.c,v 1.26 2003/08/22 17:56:24 dawes Exp $ */
/* xf86DDC.c
*
* Copyright 1998,1999 by Egbert Eich <Egbert.Eich@Physik.TU-Darmstadt.DE>
......@@ -15,9 +13,7 @@
#include "ddcPriv.h"
#include <string.h>
#ifdef XFree86LOADER
static const OptionInfoRec *DDCAvailableOptions(void *unused);
#endif
const char *i2cSymbols[] = {
"xf86CreateI2CDevRec",
......@@ -28,8 +24,6 @@ const char *i2cSymbols[] = {
NULL
};
#ifdef XFree86LOADER
static MODULESETUPPROTO(ddcSetup);
static XF86ModuleVersionInfo ddcVersRec =
......@@ -46,7 +40,7 @@ static XF86ModuleVersionInfo ddcVersRec =
{0,0,0,0}
};
XF86ModuleData ddcModuleData = { &ddcVersRec, ddcSetup, NULL };
_X_EXPORT XF86ModuleData ddcModuleData = { &ddcVersRec, ddcSetup, NULL };
ModuleInfoRec DDC = {
1,
......@@ -63,9 +57,6 @@ ddcSetup(pointer module, pointer opts, int *errmaj, int *errmin)
if (!setupDone) {
setupDone = TRUE;
#ifndef REMOVE_LOADER_CHECK_MODULE_INFO
if (xf86LoaderCheckSymbol("xf86AddModuleInfo"))
#endif
xf86AddModuleInfo(&DDC, module);
/*
* Tell the loader about symbols from other modules that this module
......@@ -81,8 +72,6 @@ ddcSetup(pointer module, pointer opts, int *errmaj, int *errmin)
return (pointer)1;
}
#endif
#define RETRIES 4
static unsigned char *EDIDRead_DDC1(
......
/* $XFree86: xc/programs/Xserver/GL/mesa/src/GLcoremodule.c,v 1.5 2000/02/23 04:46:55 martin Exp $ */
/**************************************************************************
Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
......@@ -54,7 +53,7 @@ static XF86ModuleVersionInfo VersRec =
{0,0,0,0}
};
XF86ModuleData GLcoreModuleData = { &VersRec, GLcoreSetup, NULL };
_X_EXPORT XF86ModuleData GLcoreModuleData = { &VersRec, GLcoreSetup, NULL };
static pointer
GLcoreSetup(pointer module, pointer opts, int *errmaj, int *errmin)
......
/* $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
/* $XFree86: xc/programs/Xserver/cfb32/cfbmodule.c,v 1.8 1999/01/26 05:53:49 dawes Exp $ */
/*
* Copyright (C) 1998 The XFree86 Project, Inc. All Rights Reserved.
*
......@@ -31,8 +30,6 @@
#define PSZ 32
#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 cfb32ModuleData = { &VersRec, cfb32Setup, NULL };
_X_EXPORT XF86ModuleData cfb32ModuleData = { &VersRec, cfb32Setup, NULL };
static pointer
cfb32Setup(pointer module, pointer opts, int *errmaj, int *errmin)
......@@ -61,5 +58,3 @@ cfb32Setup(pointer module, pointer opts, int *errmaj, int *errmin)
return LoadSubModule(module, "cfb", NULL, NULL, NULL, NULL,
errmaj, errmin);
}
#endif
/* $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
/* $XFree86: xc/programs/Xserver/dbe/dbemodule.c,v 1.6 1999/01/26 05:53:50 dawes Exp $ */
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
......@@ -11,7 +9,7 @@ static MODULESETUPPROTO(dbeSetup);
extern void DbeExtensionInit(INITARGS);
ExtensionModule dbeExt = {
static ExtensionModule dbeExt = {
DbeExtensionInit,
"DOUBLE-BUFFER",
&noDbeExtension,
......@@ -36,7 +34,7 @@ static XF86ModuleVersionInfo VersRec =
/*
* Data for the loader
*/
XF86ModuleData dbeModuleData = { &VersRec, dbeSetup, NULL };
_X_EXPORT XF86ModuleData dbeModuleData = { &VersRec, dbeSetup, NULL };
static pointer
dbeSetup(pointer module, pointer opts, int *errmaj, int *errmin)
......
/* $XFree86: xc/programs/Xserver/Xext/extmod/modinit.c,v 1.16 2002/03/06 21:12:33 mvojkovi Exp $ */
/*
*
* Copyright (c) 1997 Matthieu Herrb
*
* Permission to use, copy, modify, distribute, and sell this software and its
......@@ -27,8 +24,6 @@
#include <xorg-config.h>
#endif
#ifdef XFree86LOADER
#include "xf86Module.h"
#include "xf86Opt.h"
......@@ -42,7 +37,7 @@ static MODULESETUPPROTO(extmodSetup);
/*
* Array describing extensions to be initialized
*/
ExtensionModule extensionModules[] = {
static ExtensionModule extensionModules[] = {
#ifdef SHAPE
{
ShapeExtensionInit,
......@@ -229,7 +224,7 @@ static XF86ModuleVersionInfo VersRec =
/*
* Data for the loader
*/
XF86ModuleData extmodModuleData = { &VersRec, extmodSetup, NULL };
_X_EXPORT XF86ModuleData extmodModuleData = { &VersRec, extmodSetup, NULL };
static pointer
extmodSetup(pointer module, pointer opts, int *errmaj, int *errmin)
......@@ -259,5 +254,3 @@ extmodSetup(pointer module, pointer opts, int *errmaj, int *errmin)
/* Need a non-NULL return */
return (pointer)1;
}
#endif /* XFree86LOADER */
......@@ -23,14 +23,11 @@
* dealings in this Software without prior written authorization from the
* XFree86 Project.
*/
/* $XFree86: xc/programs/Xserver/fb/fbmodule.c,v 1.3 2000/02/14 19:20:29 dawes Exp $ */
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#ifdef XFree86LOADER
#include "xf86Module.h"
#include "fb.h"
......@@ -48,6 +45,4 @@ static XF86ModuleVersionInfo VersRec =
{0,0,0,0} /* signature, to be patched into the file by a tool */
};
XF86ModuleData fbModuleData = { &VersRec, NULL, NULL };
#endif
_X_EXPORT XF86ModuleData fbModuleData = { &VersRec, NULL, NULL };
......@@ -23,17 +23,16 @@
* dealings in this Software without prior written authorization from the
* XFree86 Project.
*/
/* $XFree86: xc/lib/font/FreeType/module/ftmodule.c,v 1.18 2003/11/02 04:30:57 dawes Exp $ */
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "misc.h"
#include <X11/fonts/fontmod.h>
#include "xf86Module.h"
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
static MODULESETUPPROTO(freetypeSetup);
/*
......@@ -55,11 +54,11 @@ static XF86ModuleVersionInfo VersRec =
{0,0,0,0} /* signature, to be patched into the file by a tool */
};
XF86ModuleData freetypeModuleData = { &VersRec, freetypeSetup, NULL };
_X_EXPORT XF86ModuleData freetypeModuleData = { &VersRec, freetypeSetup, NULL };
extern void FreeTypeRegisterFontFileFunctions(void);
FontModule freetypeModule = {
static FontModule freetypeModule = {
FreeTypeRegisterFontFileFunctions,
"FreeType",
NULL
......
......@@ -24,7 +24,6 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**************************************************************************/
/* $XFree86: xc/programs/Xserver/GL/glxmodule.c,v 1.11 2001/06/15 21:22:38 dawes Exp $ */
/*
* Authors:
......@@ -59,7 +58,7 @@ static MODULESETUPPROTO(glxSetup);
static const char *initdeps[] = { "DOUBLE-BUFFER", NULL };
ExtensionModule GLXExt =
static ExtensionModule GLXExt =
{
GlxExtensionInit,
"GLX",
......@@ -82,7 +81,7 @@ static XF86ModuleVersionInfo VersRec =
{0,0,0,0}
};
XF86ModuleData glxModuleData = { &VersRec, glxSetup, NULL };
_X_EXPORT XF86ModuleData glxModuleData = { &VersRec, glxSetup, NULL };
/* We do a little proxy dance here, so we can avoid loading GLcore
* unless we really need to.*/
......
/* $XFree86: xc/programs/Xserver/mfb/mfbmodule.c,v 1.7 1999/01/26 05:54:21 dawes Exp $ */
/*
* Copyright (C) 1998 The XFree86 Project, Inc. All Rights Reserved.
*
......@@ -29,10 +28,8 @@
#include <xorg-config.h>
#endif
#ifdef XFree86LOADER
#include "xf86Module.h"
static XF86ModuleVersionInfo VersRec =
{
"mfb",
......@@ -47,6 +44,4 @@ static XF86ModuleVersionInfo VersRec =
{0,0,0,0} /* signature, to be patched into the file by a tool */
};
XF86ModuleData mfbModuleData = { &VersRec, NULL, NULL };
#endif
_X_EXPORT XF86ModuleData mfbModuleData = { &VersRec, NULL, NULL };
/* $XFree86: xc/programs/Xserver/record/recordmod.c,v 1.5 1999/01/26 05:54:21 dawes Exp $ */
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
......@@ -12,7 +10,7 @@ static MODULESETUPPROTO(recordSetup);
extern void RecordExtensionInit(INITARGS);
ExtensionModule recordExt = {
static ExtensionModule recordExt = {
RecordExtensionInit,
"RECORD",
&noTestExtensions,
......@@ -33,7 +31,7 @@ static XF86ModuleVersionInfo VersRec = {
{0,0,0,0}
};
XF86ModuleData recordModuleData = { &VersRec, recordSetup, NULL };
_X_EXPORT XF86ModuleData recordModuleData = { &VersRec, recordSetup, NULL };
static pointer
recordSetup(pointer module, pointer opts, int *errmaj, int *errmin)
......
/*
* $XFree86$
*
* Copyright © 2000 Keith Packard
*
* Permission to use, copy, modify, distribute, and sell this software and its
......@@ -26,8 +24,6 @@
#include <xorg-config.h>
#endif
#ifdef XFree86LOADER
#include "xf86Module.h"
#include <X11/X.h>
#include "scrnintstr.h"
......@@ -55,6 +51,4 @@ static XF86ModuleVersionInfo VersRec =
{0,0,0,0} /* signature, to be patched into the file by a tool */
};
XF86ModuleData shadowModuleData = { &VersRec, NULL, NULL };
#endif
_X_EXPORT XF86ModuleData shadowModuleData = { &VersRec, NULL, NULL };
......@@ -23,17 +23,16 @@
* dealings in this Software without prior written authorization from the
* XFree86 Project.
*/
/* $XFree86: xc/lib/font/Type1/module/type1mod.c,v 1.10 2002/12/09 17:29:59 dawes Exp $ */
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "misc.h"
#include <X11/fonts/fontmod.h>
#include "xf86Module.h"
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
static MODULESETUPPROTO(type1Setup);
/*
......@@ -55,7 +54,7 @@ static XF86ModuleVersionInfo VersRec =
{0,0,0,0} /* signature, to be patched into the file by a tool */
};
XF86ModuleData type1ModuleData = { &VersRec, type1Setup, NULL };
_X_EXPORT XF86ModuleData type1ModuleData = { &VersRec, type1Setup, NULL };
extern void Type1RegisterFontFileFunctions(void);
#ifdef BUILDCID
......
/* $XFree86$ */
/* This is the xf86 module code for the DEC_XTRAP extension.
*/
/* This is the xf86 module code for the DEC_XTRAP extension. */
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
......@@ -12,11 +10,9 @@
extern void DEC_XTRAPInit(INITARGS);
#ifdef XFree86LOADER
static MODULESETUPPROTO(xtrapSetup);
ExtensionModule xtrapExt =
static ExtensionModule xtrapExt =
{
DEC_XTRAPInit,
XTrapExtName,
......@@ -39,7 +35,7 @@ static XF86ModuleVersionInfo xtrapVersRec =
{0,0,0,0}
};
XF86ModuleData xtrapModuleData = { &xtrapVersRec, xtrapSetup, NULL };
_X_EXPORT XF86ModuleData xtrapModuleData = { &xtrapVersRec, xtrapSetup, NULL };
static pointer
xtrapSetup(pointer module, pointer opts, int *errmaj, int *errmin) {
......@@ -47,5 +43,3 @@ xtrapSetup(pointer module, pointer opts, int *errmaj, int *errmin) {
/* Need a non-NULL return value to indicate success */
return (pointer)1;
}
#endif /* XFree86LOADER */
/* $XdotOrg: xc/programs/Xserver/GL/dri/drimodule.c,v 1.2 2004/04/23 18:44:36 eich Exp $ */
/**************************************************************************
Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
......@@ -25,7 +24,6 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**************************************************************************/
/* $XFree86: xc/programs/Xserver/GL/dri/drimodule.c,v 1.5 2001/06/15 21:22:39 dawes Exp $ */
/*
* Authors:
......@@ -61,7 +59,7 @@ extern void XFree86DRIExtensionInit(INITARGS);
#define _XF86DRI_SERVER_
#include "xf86dristr.h"
ExtensionModule XF86DRIExt =
static ExtensionModule XF86DRIExt =
{
XFree86DRIExtensionInit,
XF86DRINAME,
......@@ -96,7 +94,7 @@ static const char *drmSymbols[] = {
NULL
};
XF86ModuleData driModuleData = { &VersRec, driSetup, NULL };
_X_EXPORT XF86ModuleData driModuleData = { &VersRec, driSetup, NULL };
static pointer
driSetup(pointer module, pointer opts, int *errmaj, int *errmin)
......
......@@ -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);
}
......
/* $XFree86: xc/programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.c,v 1.32 2003/08/26 10:57:03 daenzer Exp $ */
/* all driver need this */
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
......@@ -42,8 +40,6 @@
/* -------------------------------------------------------------------- */
#ifdef XFree86LOADER
static MODULESETUPPROTO(fbdevhwSetup);
static XF86ModuleVersionInfo fbdevHWVersRec =
......@@ -60,7 +56,11 @@ static XF86ModuleVersionInfo fbdevHWVersRec =
{0,0,0,0}
};
XF86ModuleData fbdevhwModuleData = { &fbdevHWVersRec, fbdevhwSetup, NULL };
_X_EXPORT XF86ModuleData fbdevhwModuleData = {
&fbdevHWVersRec,
fbdevhwSetup,
NULL
};
static pointer
fbdevhwSetup(pointer module, pointer opts, int *errmaj, int *errmin)
......@@ -80,7 +80,6 @@ fbdevhwSetup(pointer module, pointer opts, int *errmaj, int *errmin)
return (pointer)1;
}
}
#endif /* XFree86LOADER */
#include <fcntl.h>
#include <errno.h>
......
......@@ -6,7 +6,6 @@
static MODULESETUPPROTO(bt829Setup);
static XF86ModuleVersionInfo bt829VersRec =
{
"bt829",
......
......@@ -6,7 +6,6 @@
static MODULESETUPPROTO(fi1236Setup);
static XF86ModuleVersionInfo fi1236VersRec =
{
"fi1236",
......
......@@ -6,7 +6,6 @@
static MODULESETUPPROTO(msp3430Setup);
static XF86ModuleVersionInfo msp3430VersRec =
{
"msp3430",
......
......@@ -6,7 +6,6 @@
static MODULESETUPPROTO(tda8425Setup);
static XF86ModuleVersionInfo tda8425VersRec =
{
"tda8425",
......
......@@ -6,7 +6,6 @@
static MODULESETUPPROTO(tda9850Setup);
static XF86ModuleVersionInfo tda9850VersRec =
{
"tda9850",
......
......@@ -6,7 +6,6 @@
static MODULESETUPPROTO(tda9885Setup);
static XF86ModuleVersionInfo tda9885VersRec =
{
"tda9885",
......
......@@ -6,7 +6,6 @@
static MODULESETUPPROTO(uda1380Setup);
static XF86ModuleVersionInfo uda1380VersRec =
{
"uda1380",
......
......@@ -5,8 +5,6 @@
* (c) 1998 Gerd Knorr <kraxel@cs.tu-berlin.de>
*/
/* $XFree86: xc/programs/Xserver/hw/xfree86/i2c/xf86i2cmodule.c,v 1.6 1999/01/26 05:54:10 dawes Exp $ */
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
......@@ -29,7 +27,7 @@ static XF86ModuleVersionInfo i2cVersRec =
{0,0,0,0}
};
XF86ModuleData i2cModuleData = { &i2cVersRec, i2cSetup, NULL };
_X_EXPORT XF86ModuleData i2cModuleData = { &i2cVersRec, i2cSetup, NULL };
static pointer
i2cSetup(pointer module, pointer opts, int *errmaj, int *errmin) {
......
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/int10/xf86int10module.c,v 1.3 1999/12/03 19:17:41 eich Exp $ */
/*
* XFree86 int10 module
* execute BIOS int 10h calls in x86 real mode environment
......@@ -13,10 +12,6 @@
#include "xf86Pci.h"
#include "xf86int10.h"
#ifdef XFree86LOADER
#ifndef MOD_NAME
# define MOD_NAME int10
#endif
......@@ -43,7 +38,11 @@ static XF86ModuleVersionInfo NAME(VersRec) =
{0,0,0,0}
};