--- ray/src/util/setscan.c 1991/11/12 17:19:09 2.1 +++ ray/src/util/setscan.c 2004/03/26 23:34:23 2.4 @@ -1,21 +1,20 @@ -/* 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.4 2004/03/26 23:34:23 schorsch Exp $"; #endif - /* * Convert angle ranges of the form a-b:s,c to discrete values */ +#include #include #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;