summaryrefslogtreecommitdiff
path: root/src/theatre_detect.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-03-02 14:49:21 -0500
committerAlex Deucher <alex@cube.(none)>2008-03-02 14:49:21 -0500
commitf7769ea86e265f347eb58c517ccb5ef8b35eec27 (patch)
tree4ffbd3319821036f0c1d9718893742c32f134293 /src/theatre_detect.c
parenta4398ac3ad77216f2c8aa628425bef5f2912a0a9 (diff)
[PATCH] Ensure symbols used by other modules are visible.
The xf86-video-ati drivers are one of the cases where LoaderSymbol is widely used in some obscure ways. This patch fixes the problem, and allows compiling with -fvisibility=hidden.
Diffstat (limited to 'src/theatre_detect.c')
-rw-r--r--src/theatre_detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theatre_detect.c b/src/theatre_detect.c
index 87709119..d4c6ce8f 100644
--- a/src/theatre_detect.c
+++ b/src/theatre_detect.c
@@ -64,7 +64,7 @@ static Bool theatre_write(TheatrePtr t,CARD32 reg, CARD32 data)
#define VIP_TYPE "ATI VIP BUS"
-TheatrePtr DetectTheatre(GENERIC_BUS_Ptr b)
+_X_EXPORT TheatrePtr DetectTheatre(GENERIC_BUS_Ptr b)
{
TheatrePtr t;
int i;