From 38c51a76533a90cf2c9381c99247cfac45fe70eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 28 Jul 2010 10:20:41 -0400 Subject: glx: Use _X_EXPORT instead of our own PUBLIC macro We're an X client library, so we can use Xfuncproto.h. --- src/glx/dri_glx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/glx/dri_glx.c') diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c index 291b9aa..7afdc86 100644 --- a/src/glx/dri_glx.c +++ b/src/glx/dri_glx.c @@ -151,7 +151,7 @@ driGetDriverName(Display * dpy, int scrNum, char **driverName) * The returned char pointer points to a static array that will be * overwritten by subsequent calls. */ -PUBLIC const char * +_X_EXPORT const char * glXGetScreenDriver(Display * dpy, int scrNum) { static char ret[32]; @@ -181,7 +181,7 @@ glXGetScreenDriver(Display * dpy, int scrNum) * * Note: The driver remains opened after this function returns. */ -PUBLIC const char * +_X_EXPORT const char * glXGetDriverConfig(const char *driverName) { void *handle = driOpenDriver(driverName); -- cgit v1.1