summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/ast_driver.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5c5c106..5a93962 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-01 Y.C. Chen <yc_chen@aspeedtech.com>
+ * src/ast_driver.c:
+ Add _X_EXPORT for symbols public visibility
+
2007-08-24 Y.C. Chen <yc_chen@aspeedtech.com>
* configure.ac:
diff --git a/src/ast_driver.c b/src/ast_driver.c
index 5d6ea9d..da18748 100644
--- a/src/ast_driver.c
+++ b/src/ast_driver.c
@@ -109,7 +109,7 @@ static Bool ASTModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode);
* This is intentionally screen-independent. It indicates the binding
* choice made in the first PreInit.
*/
-DriverRec AST = {
+_X_EXPORT DriverRec AST = {
AST_VERSION,
AST_DRIVER_NAME,
ASTIdentify,
@@ -258,7 +258,7 @@ static XF86ModuleVersionInfo astVersRec = {
{0, 0, 0, 0}
};
-XF86ModuleData astModuleData = { &astVersRec, astSetup, NULL };
+_X_EXPORT XF86ModuleData astModuleData = { &astVersRec, astSetup, NULL };
static pointer
astSetup(pointer module, pointer opts, int *errmaj, int *errmin)