--- ray/src/gen/genbranch.c 1991/12/19 15:09:06 2.2 +++ ray/src/gen/genbranch.c 2003/02/22 02:07:23 2.5 @@ -1,9 +1,6 @@ -/* Copyright (c) 1989 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: genbranch.c,v 2.5 2003/02/22 02:07:23 greg Exp $"; #endif - /* * genbranch.c - program to generate 3D Christmas tree branches. * @@ -12,13 +9,13 @@ static char SCCSid[] = "$SunId$ LBL"; #include +#include + +#include + #include "random.h" #define errf() (var*(0.5-frandom())) - -#ifndef atof -extern double atof(); -#endif double bstart[3] = {0.0, 0.0, 0.0}; /* start of branch */ double bend[3] = {28.0, 8.0, 0.0}; /* end of branch */