--- ray/src/cv/thf2rad.c 1993/08/02 14:08:55 2.4 +++ 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,7 @@ static char SCCSid[] = "$SunId$ LBL"; */ #include +#include #include #define MAXSTR 128 /* maximum string or id length */ @@ -24,11 +22,7 @@ typedef struct { double rad = 0.0; /* line radius */ -#ifdef DECL_ATOF -extern double atof(); -#endif - main(argc, argv) int argc; char *argv[]; @@ -84,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;