--- ray/src/cv/thf2rad.c 1991/11/12 17:01:57 2.1 +++ ray/src/cv/thf2rad.c 2003/07/27 22:12:02 2.7 @@ -1,9 +1,6 @@ -/* Copyright (c) 1990 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: thf2rad.c,v 2.7 2003/07/27 22:12:02 schorsch Exp $"; #endif - /* Copyright (c) 1988 Regents of the University of California */ /* @@ -13,6 +10,8 @@ static char SCCSid[] = "$SunId$ LBL"; */ #include +#include +#include #define MAXSTR 128 /* maximum string or id length */ #define MAXPTS 2048 /* maximum points per object */ @@ -28,7 +27,6 @@ main(argc, argv) int argc; char *argv[]; { - extern double atof(); char *name = NULL; int an; @@ -80,7 +78,7 @@ char *name, *file; if (name == NULL) name = file; } - for (cp = nambuf; *cp = *name++; cp++) + for (cp = nambuf; (*cp = *name++); cp++) ; /* get objects from file */ on = 0;