summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)