--- ray/src/gen/genmarble.c 1991/12/19 15:08:34 2.2 +++ ray/src/gen/genmarble.c 1993/06/04 14:31:11 2.3 @@ -12,12 +12,10 @@ static char SCCSid[] = "$SunId$ LBL"; #include +#include + #include "random.h" -#ifndef atof -extern double atof(); -#endif - #define PI 3.14159265359 typedef double FVECT[3]; @@ -75,7 +73,6 @@ bubble(v, cent, rad, bubrad) /* compute location of ra FVECT v, cent; double rad, bubrad; { - double sqrt(); double r, ro, theta, phi; r = frandom()*bubrad; @@ -92,7 +89,6 @@ sphere_cart(v, ro, theta, phi) /* spherical to cartesi FVECT v; double ro, theta, phi; { - double sin(), cos(); double d; d = sin(phi);