glu: Fix _GLUfuncptr typedef.
authorzhigang gong <zhigang.gong@gmail.com>
Thu, 12 May 2011 10:36:59 +0000 (11:36 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 12 May 2011 10:45:30 +0000 (11:45 +0100)
typedef void (GLAPIENTRYP _GLUfuncptr)(); causes the following warning:
function declaration isn't a prototype.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
include/GL/glu.h

index cd967ac5ed4b12d1efe58fb7ee2382a7fa1e9bc1..ba2228d8d86ab38f604c948bee2e73883972d979 100644 (file)
@@ -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);