--- ray/src/gen/genblinds.c 1992/08/27 13:51:59 2.3 +++ ray/src/gen/genblinds.c 1993/08/02 14:22:58 2.6 @@ -21,10 +21,6 @@ static char SCCSid[] = "$SunId$ LBL"; #include #include -#ifndef atof -extern double atof(); -#endif - #define PI 3.141592653589793 #define DELTA 5. /* MINIMAL SUSTAINED ANGLE IN DEGREES */ @@ -34,12 +30,15 @@ char *material, *name; double height; int nslats, nsurf; +#ifdef DCL_ATOF +extern double atof(); +#endif + main(argc, argv) int argc; char *argv[]; { - double fabs(); double width, delem, depth, rcurv = 0.0, angle; double beta, gamma, theta, chi; int i, j, k, l; @@ -156,7 +155,6 @@ userr: makeflat(w,d,a) double w, d, a; { - double sin(), cos(); double h; h = d*sin(a);