From: zhigang gong Date: Thu, 12 May 2011 10:36:59 +0000 (+0100) Subject: glu: Fix _GLUfuncptr typedef. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6699cd4e8d88a8fd58a885bfac7e379313334283;p=mesa.git glu: Fix _GLUfuncptr typedef. typedef void (GLAPIENTRYP _GLUfuncptr)(); causes the following warning: function declaration isn't a prototype. Signed-off-by: José Fonseca --- diff --git a/include/GL/glu.h b/include/GL/glu.h index cd967ac5ed4..ba2228d8d86 100644 --- a/include/GL/glu.h +++ b/include/GL/glu.h @@ -284,7 +284,7 @@ typedef GLUtesselator GLUtriangulatorObj; #define GLU_TESS_MAX_COORD 1.0e150 /* Internal convenience typedefs */ -typedef void (GLAPIENTRYP _GLUfuncptr)(); +typedef void (GLAPIENTRYP _GLUfuncptr)(void); GLAPI void GLAPIENTRY gluBeginCurve (GLUnurbs* nurb); GLAPI void GLAPIENTRY gluBeginPolygon (GLUtesselator* tess);