--- ray/src/common/rglsrc.c 2003/02/25 02:47:22 3.4 +++ ray/src/common/rglsrc.c 2003/11/14 17:22:06 3.6 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rglsrc.c,v 3.4 2003/02/25 02:47:22 greg Exp $"; +static const char RCSid[] = "$Id: rglsrc.c,v 3.6 2003/11/14 17:22:06 schorsch Exp $"; #endif /* * Routines for handling OpenGL light sources @@ -36,14 +36,13 @@ static struct { static int nlights; /* number of defined lights */ -static void l_flatsrc(), l_sphsrc(), l_source(); +static void l_flatsrc(int), l_sphsrc(int), l_source(int); void lightinit() /* initialize lighting */ { GLfloat ambv[4]; - register int i; if (!dolights) return; @@ -73,8 +72,6 @@ lightclean() /* clean up light source commands */ void lightdefs() /* define light source list */ { - register int i; - if (!nlights) return; glNewList(lightlist, GL_COMPILE);