From f2a50b141e29353b1bb324dfae13e5fc52327ec9 Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Thu, 20 Sep 2001 21:47:52 +0000 Subject: [PATCH] compiler warnings --- src/glu/sgi/libtess/sweep.c | 5 +++-- src/glu/sgi/libtess/tess.c | 6 +++--- src/glu/sgi/libutil/quad.c | 6 +++--- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/glu/sgi/libtess/sweep.c b/src/glu/sgi/libtess/sweep.c index d8d46e901a1..831120ba52c 100644 --- a/src/glu/sgi/libtess/sweep.c +++ b/src/glu/sgi/libtess/sweep.c @@ -35,8 +35,8 @@ /* ** Author: Eric Veach, July 1994. ** -** $Date: 2001/03/17 00:25:41 $ $Revision: 1.1 $ -** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/sweep.c,v 1.1 2001/03/17 00:25:41 brianp Exp $ +** $Date: 2001/09/20 21:47:52 $ $Revision: 1.2 $ +** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/sweep.c,v 1.2 2001/09/20 21:47:52 kschultz Exp $ */ #include "gluos.h" @@ -253,6 +253,7 @@ static GLboolean IsWindingInside( GLUtesselator *tess, int n ) /*LINTED*/ assert( FALSE ); /*NOTREACHED*/ + return GL_FALSE; /* avoid compiler complaints */ } diff --git a/src/glu/sgi/libtess/tess.c b/src/glu/sgi/libtess/tess.c index 509d406bca6..c920235c660 100644 --- a/src/glu/sgi/libtess/tess.c +++ b/src/glu/sgi/libtess/tess.c @@ -35,8 +35,8 @@ /* ** Author: Eric Veach, July 1994. ** -** $Date: 2001/03/17 00:25:41 $ $Revision: 1.1 $ -** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/tess.c,v 1.1 2001/03/17 00:25:41 brianp Exp $ +** $Date: 2001/09/20 21:47:52 $ $Revision: 1.2 $ +** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/tess.c,v 1.2 2001/09/20 21:47:52 kschultz Exp $ */ #include "gluos.h" @@ -271,7 +271,7 @@ gluTessNormal( GLUtesselator *tess, GLdouble x, GLdouble y, GLdouble z ) } void GLAPIENTRY -gluTessCallback( GLUtesselator *tess, GLenum which, void (GLAPIENTRY *fn)()) +gluTessCallback( GLUtesselator *tess, GLenum which, _GLUfuncptr fn) { switch( which ) { case GLU_TESS_BEGIN: diff --git a/src/glu/sgi/libutil/quad.c b/src/glu/sgi/libutil/quad.c index 84a4d7161a3..db397f09bfe 100644 --- a/src/glu/sgi/libutil/quad.c +++ b/src/glu/sgi/libutil/quad.c @@ -31,8 +31,8 @@ ** published by SGI, but has not been independently verified as being ** compliant with the OpenGL(R) version 1.2.1 Specification. ** -** $Date: 2001/03/17 00:25:41 $ $Revision: 1.1 $ -** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libutil/quad.c,v 1.1 2001/03/17 00:25:41 brianp Exp $ +** $Date: 2001/09/20 21:47:52 $ $Revision: 1.2 $ +** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libutil/quad.c,v 1.2 2001/09/20 21:47:52 kschultz Exp $ */ #include "gluos.h" @@ -89,7 +89,7 @@ static void gluQuadricError(GLUquadric *qobj, GLenum which) } void GLAPIENTRY -gluQuadricCallback(GLUquadric *qobj, GLenum which, void (GLAPIENTRY *fn)()) +gluQuadricCallback(GLUquadric *qobj, GLenum which, _GLUfuncptr fn) { switch (which) { case GLU_ERROR: -- 2.30.2