From f525d3e139529d3b7b3f18e24489ae4e7ecd83cc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 12 Oct 2005 19:37:38 +0000 Subject: fix GLAPI/extern problem (bug 4757) --- src/glw/GLwDrawA.h | 4 ++-- src/glw/GLwDrawAP.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/glw') diff --git a/src/glw/GLwDrawA.h b/src/glw/GLwDrawA.h index 4a381ac38cc..cd631b4fb57 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 031531b7e6e..f1217019541 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 */ -- cgit v1.2.3