diff options
author | zhigang gong <zhigang.gong@gmail.com> | 2011-05-12 11:36:59 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-05-12 11:45:30 +0100 |
commit | 6699cd4e8d88a8fd58a885bfac7e379313334283 (patch) | |
tree | 394d72bf3b498bc6c790d492088df8dd1da7808b /include | |
parent | 32a95cb70cb73b9a7855baffaf00f4ea7b3a30c2 (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>
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/glu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/GL/glu.h b/include/GL/glu.h index cd967ac5ed..ba2228d8d8 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); |