--- ray/src/common/readfargs.c 1991/07/22 11:23:00 1.2 +++ ray/src/common/readfargs.c 1991/12/19 14:45:52 2.2 @@ -10,11 +10,15 @@ static char SCCSid[] = "$SunId$ LBL"; #include +#include "fvect.h" + #include "object.h" extern char *savestr(), *malloc(), *fgetword(); +#ifndef atof extern double atof(); +#endif extern int atoi(); extern long atol(); @@ -69,7 +73,7 @@ FILE *fp; if (!getint() || (n = atoi(sbuf)) < 0) return(0); if (fa->nfargs = n) { - fa->farg = (double *)bmalloc(n*sizeof(double)); + fa->farg = (FLOAT *)bmalloc(n*sizeof(FLOAT)); if (fa->farg == NULL) return(-1); for (i = 0; i < n; i++) {