--- ray/src/common/rglfile.c 2003/10/27 10:19:31 3.9 +++ ray/src/common/rglfile.c 2004/03/28 20:33:12 3.11 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rglfile.c,v 3.9 2003/10/27 10:19:31 schorsch Exp $"; +static const char RCSid[] = "$Id: rglfile.c,v 3.11 2004/03/28 20:33:12 schorsch Exp $"; #endif /* * Load Radiance object(s) and create OpenGL display lists @@ -7,6 +7,8 @@ static const char RCSid[] = "$Id: rglfile.c,v 3.9 2003 #include "copyright.h" +#include + #include "rtprocess.h" #include "radogl.h" @@ -19,8 +21,8 @@ FUN ofun[NUMOTYPE] = INIT_OTYPE; static int nextlist, nlistleft = 0; -static void -initotypes() /* initialize ofun array */ +void +initotypes(void) /* initialize ofun array */ { if (ofun[OBJ_SPHERE].funp == o_sphere) return; /* already done */