--- ray/src/gen/genblinds.c 1992/10/02 16:10:45 2.4 +++ 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 */ @@ -33,6 +29,10 @@ double A[3],X[3]; char *material, *name; double height; int nslats, nsurf; + +#ifdef DCL_ATOF +extern double atof(); +#endif main(argc, argv)