diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-07-28 10:20:41 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-07-28 16:42:00 -0400 |
commit | 38c51a76533a90cf2c9381c99247cfac45fe70eb (patch) | |
tree | 6e9a020fdb29cb0efd72b5106273ba5bfb8a1b3f /src/glx/dri_glx.c | |
parent | 65d98e25770487456eb3d7eb8ec3ec8272f170b1 (diff) | |
download | external_mesa3d-38c51a76533a90cf2c9381c99247cfac45fe70eb.zip external_mesa3d-38c51a76533a90cf2c9381c99247cfac45fe70eb.tar.gz external_mesa3d-38c51a76533a90cf2c9381c99247cfac45fe70eb.tar.bz2 |
glx: Use _X_EXPORT instead of our own PUBLIC macro
We're an X client library, so we can use Xfuncproto.h.
Diffstat (limited to 'src/glx/dri_glx.c')
-rw-r--r-- | src/glx/dri_glx.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |