summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-06-25 21:16:54 +0000
committerAdam Jackson <ajax@nwnk.net>2005-06-25 21:16:54 +0000
commit57144d6c9ea250b1d9a40bac4c70180593c1ca2c (patch)
treeafb094a191274a002169f6e94df05b88b4b22d50
parent264b155fdc7f0f860a5cfa5932fb683e5d1934ef (diff)
Bug #3626: _X_EXPORT tags for video and input drivers.
-rw-r--r--src/alp_driver.c6
-rw-r--r--src/cir_driver.c4
-rw-r--r--src/lg_driver.c6
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)