summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@freedesktop.org>2005-02-08 05:46:53 +0000
committerAdam Jackson <ajax@freedesktop.org>2005-02-08 05:46:53 +0000
commitd084982240bafba0169c4a6cacf02d45d6cfd8c1 (patch)
tree691f990d4581a5367599bc44718d12303b27da87 /src
parent4885a9eb207655ac23b64274034e1d51d2c8e6ce (diff)
Bug #2477: Make GLU/GLw/glut build properly even with -fvisibility=hidden.
Diffstat (limited to 'src')
-rw-r--r--src/glw/GLwDrawA.h4
-rw-r--r--src/glw/GLwDrawAP.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/glw/GLwDrawA.h b/src/glw/GLwDrawA.h
index a62852c260..4a381ac38c 100644
--- a/src/glw/GLwDrawA.h
+++ b/src/glw/GLwDrawA.h
@@ -182,9 +182,9 @@ extern void GLwDrawingAreaSwapBuffers(Widget w);
#ifdef __GLX_MOTIF
#ifdef _NO_PROTO
-extern Widget GLwCreateMDrawingArea();
+GLAPI extern Widget GLwCreateMDrawingArea();
#else
-extern Widget GLwCreateMDrawingArea(Widget parent,char *name,ArgList arglist,Cardinal argcount);
+GLAPI extern Widget GLwCreateMDrawingArea(Widget parent,char *name,ArgList arglist,Cardinal argcount);
#endif
#endif
diff --git a/src/glw/GLwDrawAP.h b/src/glw/GLwDrawAP.h
index f121701954..031531b7e6 100644
--- a/src/glw/GLwDrawAP.h
+++ b/src/glw/GLwDrawAP.h
@@ -59,7 +59,7 @@ typedef struct _GLwMDrawingAreaClassRec {
} GLwMDrawingAreaClassRec;
-extern GLwMDrawingAreaClassRec glwMDrawingAreaClassRec;
+GLAPI extern GLwMDrawingAreaClassRec glwMDrawingAreaClassRec;
/* XT */