summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhigang gong <zhigang.gong@gmail.com>2011-05-12 11:36:59 +0100
committerJosé Fonseca <jfonseca@vmware.com>2011-05-12 11:45:30 +0100
commit03ac87fa675e753aa2ff698c526c8f146f6c6490 (patch)
treea80403c1b9ebe19a99869514cd3ef52510cc40c9
parente21c970d96848358a8a60b6b95ce43cac34c0ae2 (diff)
glu: Fix _GLUfuncptr typedef.
typedef void (GLAPIENTRYP _GLUfuncptr)(); causes the following warning: function declaration isn't a prototype. Signed-off-by: José Fonseca <jfonseca@vmware.com>
-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 cd967ac..ba2228d 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);