summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/apple/apple_glapi.c4
-rw-r--r--src/glx/apple/apple_xgl_api.h23
2 files changed, 7 insertions, 20 deletions
diff --git a/src/glx/apple/apple_glapi.c b/src/glx/apple/apple_glapi.c
index 99570509888..f60cacece76 100644
--- a/src/glx/apple/apple_glapi.c
+++ b/src/glx/apple/apple_glapi.c
@@ -49,13 +49,9 @@
#define OPENGL_FRAMEWORK_PATH "/System/Library/Frameworks/OpenGL.framework/OpenGL"
#endif
-__private_extern__
struct _glapi_table * __ogl_framework_api = NULL;
-
-__private_extern__
struct _glapi_table * __applegl_api = NULL;
-__private_extern__
void apple_xgl_init_direct(void) {
static void *handle;
const char *opengl_framework_path;
diff --git a/src/glx/apple/apple_xgl_api.h b/src/glx/apple/apple_xgl_api.h
index c6d8903a0b3..2365d64788f 100644
--- a/src/glx/apple/apple_xgl_api.h
+++ b/src/glx/apple/apple_xgl_api.h
@@ -29,24 +29,15 @@
#ifndef APPLE_XGL_API_H
-__private_extern__ void
-__applegl_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height,
+void __applegl_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height,
GLenum format, GLenum type, void *pixels);
+void __applegl_glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
+void __applegl_glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y,
+ GLsizei width);
-__private_extern__ void
-__applegl_glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
+void __applegl_glDrawBuffer(GLenum mode);
+void __applegl_glDrawBuffersARB(GLsizei n, const GLenum * bufs);
-__private_extern__ void
-__applegl_glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y,
- GLsizei width);
-
-__private_extern__ void
-__applegl_glDrawBuffer(GLenum mode);
-
-__private_extern__ void
-__applegl_glDrawBuffersARB(GLsizei n, const GLenum * bufs);
-
-__private_extern__ void
-__applegl_glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
+void __applegl_glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
#endif