From 616e7cacc39b2a1e7ce18aa689943cf744f9cc31 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Thu, 31 Jan 2008 23:19:27 -0200 Subject: [PATCH] Export AST DriverRec and astModuleData XF86ModuleData. These symbols must have public visibility. This driver has not been ported to use libpciaccess. --- src/ast_driver.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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) -- 1.5.3.2