summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-06-25 21:16:55 +0000
committerAdam Jackson <ajax@nwnk.net>2005-06-25 21:16:55 +0000
commitacadff30e40af48592e50e55a94f9c81ab856971 (patch)
treebf77ec639e86cc5f03c81cfa46ce11c78c36a7ba
parent784cd8fabf5a356a8ce501c635e4d09f39a17a0f (diff)
Bug #3626: _X_EXPORT tags for video and input drivers.XORG-6_8_99_13
-rw-r--r--src/mga_driver.c4
-rw-r--r--src/mga_halmod.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 5d75b72..da82b79 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -145,7 +145,7 @@ static int MGAEntityIndex = -1;
* this DriverRec be an upper-case version of the driver name.
*/
-DriverRec MGA_C_NAME = {
+_X_EXPORT DriverRec MGA_C_NAME = {
MGA_VERSION,
MGA_DRIVER_NAME,
MGAIdentify,
@@ -420,7 +420,7 @@ static XF86ModuleVersionInfo mgaVersRec =
{0,0,0,0}
};
-XF86ModuleData MGA_MODULE_DATA = { &mgaVersRec, mgaSetup, NULL };
+_X_EXPORT XF86ModuleData MGA_MODULE_DATA = { &mgaVersRec, mgaSetup, NULL };
static pointer
mgaSetup(pointer module, pointer opts, int *errmaj, int *errmin)
diff --git a/src/mga_halmod.c b/src/mga_halmod.c
index 4308f85..d749fde 100644
--- a/src/mga_halmod.c
+++ b/src/mga_halmod.c
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/mga/mga_halmod.c,v 1.1 2000/12/06 15:35:21 eich Exp $ */
+/* $XFree86$ */
#include "xf86Module.h"
#ifdef XFree86LOADER
@@ -15,7 +15,7 @@ static XF86ModuleVersionInfo halVersRec =
MODULEVENDORSTRING,
MODINFOSTRING1,
MODINFOSTRING2,
- XF86_VERSION_CURRENT,
+ XORG_VERSION_CURRENT,
HAL_MAJOR_VERSION, HAL_MINOR_VERSION, HAL_PATCHLEVEL,
ABI_CLASS_VIDEODRV, /* This is a video driver */
ABI_VIDEODRV_VERSION,
@@ -27,7 +27,7 @@ static XF86ModuleVersionInfo halVersRec =
* This is the module init data.
* Its name has to be the driver name followed by ModuleData.
*/
-XF86ModuleData mga_halModuleData = { &halVersRec, halSetup, NULL };
+_X_EXPORT XF86ModuleData mga_halModuleData = { &halVersRec, halSetup, NULL };
static pointer
halSetup(pointer module, pointer opts, int *errmaj, int *errmin)