projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32a95cb
)
glu: Fix _GLUfuncptr typedef.
author
zhigang gong
<zhigang.gong@gmail.com>
Thu, 12 May 2011 10:36:59 +0000
(11:36 +0100)
committer
José 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
patch
|
blob
|
history
diff --git
a/include/GL/glu.h
b/include/GL/glu.h
index cd967ac5ed4b12d1efe58fb7ee2382a7fa1e9bc1..ba2228d8d86ab38f604c948bee2e73883972d979 100644
(file)
--- 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);