--- ray/src/rt/noise3.c 2003/02/25 02:47:22 2.7 +++ ray/src/rt/noise3.c 2003/08/04 22:37:53 2.8 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: noise3.c,v 2.7 2003/02/25 02:47:22 greg Exp $"; +static const char RCSid[] = "$Id: noise3.c,v 2.8 2003/08/04 22:37:53 greg Exp $"; #endif /* * noise3.c - noise functions for random textures. @@ -10,6 +10,8 @@ static const char RCSid[] = "$Id: noise3.c,v 2.7 2003/ #include "copyright.h" +#include "calcomp.h" + #include #define A 0 @@ -36,7 +38,7 @@ static char noise_name[4][8] = {"noise3x", "noise3y", static char fnoise_name[] = "fnoise3"; static char hermite_name[] = "hermite"; -double *noise3(), fnoise3(), argument(), frand(); +double *noise3(), fnoise3(), frand(); static interpolate(); static long xlim[3][2]; @@ -71,7 +73,7 @@ register char *nam; double -l_hermite() /* library call for hermite interpolation */ +l_hermite(char *nm) /* library call for hermite interpolation */ { double t;