Adding _X_HIDDEN doesn't actually maange to hide these functions as
the compiler refuses to change the visibility from what was declared
in gl.h

Signed-off-by: Keith Packard <[email protected]>
---
 glx/glxstubs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/glx/glxstubs.c b/glx/glxstubs.c
index 69bc004..99f1cba 100644
--- a/glx/glxstubs.c
+++ b/glx/glxstubs.c
@@ -34,7 +34,7 @@
 #include "glxserver.h"
 
 #define thunk(name, type, call_args, ...) \
-    _X_HIDDEN void name(__VA_ARGS__) { \
+    GLAPI void APIENTRY name(__VA_ARGS__) { \
        static type proc; \
        if (!proc) proc = __glGetProcAddress(#name); \
        proc call_args; \
-- 
1.8.4.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to