--- ray/src/util/setscan.c 2003/02/22 02:07:30 2.2 +++ ray/src/util/setscan.c 2004/03/26 23:34:23 2.4 @@ -1,18 +1,20 @@ #ifndef lint -static const char RCSid[] = "$Id: setscan.c,v 2.2 2003/02/22 02:07:30 greg Exp $"; +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;