| # | Line 5 | Line 5 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 5 | * Convert angle ranges of the form a-b:s,c to discrete values | |
| 6 | */ | |
| 7 | ||
| 8 | + | #include <stdlib.h> |
| 9 | #include <ctype.h> | |
| 10 | ||
| 11 | #include "setscan.h" | |
| 12 | ||
| 13 | < | |
| 14 | < | setscan(ang, arg) /* set up scan according to arg */ |
| 15 | < | register ANGLE *ang; |
| 16 | < | register char *arg; |
| 13 | > | int |
| 14 | > | setscan( /* set up scan according to arg */ |
| 15 | > | register ANGLE *ang, |
| 16 | > | register char *arg |
| 17 | > | ) |
| 18 | { | |
| 19 | int state = ','; | |
| 20 | int start, finish, step; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |