--- ray/src/gen/genbeads.c 1991/12/19 15:07:08 2.2 +++ ray/src/gen/genbeads.c 2003/02/22 02:07:23 2.5 @@ -1,9 +1,6 @@ -/* Copyright (c) 1986 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: genbeads.c,v 2.5 2003/02/22 02:07:23 greg Exp $"; #endif - /* * genbeads.c - generate a string of spheres using Hermite * curve specification. @@ -12,12 +9,9 @@ static char SCCSid[] = "$SunId$ LBL"; */ #include +#include +#include - -#ifndef atof -extern double atof(); -#endif - char *mtype; /* material type */ char *name; /* name */ @@ -68,7 +62,6 @@ double r1[3]; double rad; double inc; { - double sqrt(); register int i; double v[3]; double t;