1 |
– |
/* Copyright (c) 1991 Regents of the University of California */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* Convert angle ranges of the form a-b:s,c to discrete values |
6 |
|
*/ |
9 |
|
|
10 |
|
#include "setscan.h" |
11 |
|
|
12 |
< |
|
13 |
< |
setscan(ang, arg) /* set up scan according to arg */ |
14 |
< |
register ANGLE *ang; |
15 |
< |
register char *arg; |
12 |
> |
int |
13 |
> |
setscan( /* set up scan according to arg */ |
14 |
> |
register ANGLE *ang, |
15 |
> |
register char *arg |
16 |
> |
) |
17 |
|
{ |
18 |
|
int state = ','; |
19 |
|
int start, finish, step; |