From: Brian Paul Date: Wed, 12 Oct 2005 19:37:38 +0000 (+0000) Subject: fix GLAPI/extern problem (bug 4757) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f525d3e139529d3b7b3f18e24489ae4e7ecd83cc;p=mesa.git fix GLAPI/extern problem (bug 4757) --- 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 */