From 57144d6c9ea250b1d9a40bac4c70180593c1ca2c Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Sat, 25 Jun 2005 21:16:54 +0000 Subject: Bug #3626: _X_EXPORT tags for video and input drivers. --- src/alp_driver.c | 6 +++++- src/cir_driver.c | 4 ++-- src/lg_driver.c | 6 +++++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/alp_driver.c b/src/alp_driver.c index d2f9692..6af6b69 100644 --- a/src/alp_driver.c +++ b/src/alp_driver.c @@ -250,7 +250,11 @@ static XF86ModuleVersionInfo alpVersRec = * This is the module init data. * Its name has to be the driver name followed by ModuleData. */ -XF86ModuleData cirrus_alpineModuleData = { &alpVersRec, alpSetup, NULL }; +_X_EXPORT XF86ModuleData cirrus_alpineModuleData = { + &alpVersRec, + alpSetup, + NULL +}; static pointer alpSetup(pointer module, pointer opts, int *errmaj, int *errmin) diff --git a/src/cir_driver.c b/src/cir_driver.c index 8febbad..1f02e50 100644 --- a/src/cir_driver.c +++ b/src/cir_driver.c @@ -62,7 +62,7 @@ static Bool alp_loaded = FALSE; * this DriverRec be an upper-case version of the driver name. */ -DriverRec CIRRUS = { +_X_EXPORT DriverRec CIRRUS = { VERSION, CIR_DRIVER_NAME, CIRIdentify, @@ -155,7 +155,7 @@ static XF86ModuleVersionInfo cirVersRec = * This is the module init data. * Its name has to be the driver name followed by ModuleData. */ -XF86ModuleData cirrusModuleData = { &cirVersRec, cirSetup, NULL }; +_X_EXPORT XF86ModuleData cirrusModuleData = { &cirVersRec, cirSetup, NULL }; static pointer cirSetup(pointer module, pointer opts, int *errmaj, int *errmin) diff --git a/src/lg_driver.c b/src/lg_driver.c index 4fda937..51002ba 100644 --- a/src/lg_driver.c +++ b/src/lg_driver.c @@ -258,7 +258,11 @@ static XF86ModuleVersionInfo lgVersRec = * This is the module init data. * Its name has to be the driver name followed by ModuleData. */ -XF86ModuleData cirrus_lagunaModuleData = { &lgVersRec, lgSetup, NULL }; +_X_EXPORT XF86ModuleData cirrus_lagunaModuleData = { + &lgVersRec, + lgSetup, + NULL +}; static pointer lgSetup(pointer module, pointer opts, int *errmaj, int *errmin) -- cgit v1.2.3