Make sure used symbols are of public visibility

This commit is contained in:
root
2008-03-01 10:13:03 +08:00
parent d5b5a0e603
commit cbf726c635
2 changed files with 6 additions and 2 deletions

View File

@@ -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:

View File

@@ -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)