summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzhigang gong <[email protected]>2011-05-12 11:36:59 +0100
committerJosé Fonseca <[email protected]>2011-05-12 11:45:30 +0100
commit6699cd4e8d88a8fd58a885bfac7e379313334283 (patch)
tree394d72bf3b498bc6c790d492088df8dd1da7808b /include
parent32a95cb70cb73b9a7855baffaf00f4ea7b3a30c2 (diff)
glu: Fix _GLUfuncptr typedef.
typedef void (GLAPIENTRYP _GLUfuncptr)(); causes the following warning: function declaration isn't a prototype. Signed-off-by: José Fonseca <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/GL/glu.h2
1 files changed, 1 insertions, 1 deletions
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);