summaryrefslogtreecommitdiff
path: root/src/dispatch_glx.c
diff options
context:
space:
mode:
authorYaron Cohen-Tal <yaronct@gmail.com>2015-07-19 12:59:31 +0300
committerYaron Cohen-Tal <yaronct@gmail.com>2015-07-19 13:40:35 +0300
commit90c6158d61a4b27f00997049d67344b425275c5c (patch)
tree65366dd2d858c408b4087cca9470f1551d671240 /src/dispatch_glx.c
parent773dd02f596b3f256bb1c0f65ac091db93a9518b (diff)
downloadlibepoxy-90c6158d61a4b27f00997049d67344b425275c5c.tar.gz
Unite defenitions "PUBLIC" and "EPOXY_IMPORTEXPORT" and add it where appropriate. Fix tests build errors.
Diffstat (limited to 'src/dispatch_glx.c')
-rw-r--r--src/dispatch_glx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dispatch_glx.c b/src/dispatch_glx.c
index 78e61c2..f1ff447 100644
--- a/src/dispatch_glx.c
+++ b/src/dispatch_glx.c
@@ -47,7 +47,7 @@ epoxy_conservative_glx_version(void)
return epoxy_glx_version(dpy, screen);
}
-PUBLIC int
+EPOXY_IMPORTEXPORT int
epoxy_glx_version(Display *dpy, int screen)
{
int server_major, server_minor;
@@ -92,7 +92,7 @@ epoxy_conservative_has_glx_extension(const char *ext)
return epoxy_has_glx_extension(dpy, screen, ext);
}
-PUBLIC bool
+EPOXY_IMPORTEXPORT bool
epoxy_has_glx_extension(Display *dpy, int screen, const char *ext)
{
/* No, you can't just use glXGetClientString or