summaryrefslogtreecommitdiff
path: root/src/glw
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-10-12 19:37:38 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-10-12 19:37:38 +0000
commitf525d3e139529d3b7b3f18e24489ae4e7ecd83cc (patch)
tree9913e6f2a3bee1100aa10e1552aa2ff59c7fed3e /src/glw
parentd084c3d4dcabf58cef921b50ab60d1287563cd43 (diff)
fix GLAPI/extern problem (bug 4757)
Diffstat (limited to 'src/glw')
-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 4a381ac38c..cd631b4fb5 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
-GLAPI extern Widget GLwCreateMDrawingArea();
+GLAPI Widget GLwCreateMDrawingArea();
#else
-GLAPI extern Widget GLwCreateMDrawingArea(Widget parent,char *name,ArgList arglist,Cardinal argcount);
+GLAPI 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 031531b7e6..f121701954 100644
--- a/src/glw/GLwDrawAP.h
+++ b/src/glw/GLwDrawAP.h
@@ -59,7 +59,7 @@ typedef struct _GLwMDrawingAreaClassRec {
} GLwMDrawingAreaClassRec;
-GLAPI extern GLwMDrawingAreaClassRec glwMDrawingAreaClassRec;
+extern GLwMDrawingAreaClassRec glwMDrawingAreaClassRec;
/* XT */