--- ray/src/util/setscan.c 1991/03/14 17:38:27 1.3 +++ ray/src/util/setscan.c 2003/06/27 11:32:12 2.3 @@ -1,9 +1,6 @@ -/* Copyright (c) 1991 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: setscan.c,v 2.3 2003/06/27 11:32:12 schorsch Exp $"; #endif - /* * Convert angle ranges of the form a-b:s,c to discrete values */ @@ -12,10 +9,11 @@ static char SCCSid[] = "$SunId$ LBL"; #include "setscan.h" - -setscan(ang, arg) /* set up scan according to arg */ -register ANGLE *ang; -register char *arg; +int +setscan( /* set up scan according to arg */ +register ANGLE *ang, +register char *arg +) { int state = ','; int start, finish, step;