--- ray/src/common/rglfile.c 2003/06/26 00:58:09 3.8 +++ 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.8 2003/06/26 00:58:09 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,9 @@ static const char RCSid[] = "$Id: rglfile.c,v 3.8 2003 #include "copyright.h" +#include + +#include "rtprocess.h" #include "radogl.h" #ifndef NLIST2ALLOC @@ -18,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 */ @@ -148,7 +151,6 @@ void rgl_load(inpspec) /* convert scene description into OGL calls */ char *inpspec; { - FILE *popen(); char *fgetline(); FILE *infp; char buf[1024];