ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/setscan.c
(Generate patch)

Comparing ray/src/util/setscan.c (file contents):
Revision 2.1 by greg, Tue Nov 12 17:19:09 1991 UTC vs.
Revision 2.4 by schorsch, Fri Mar 26 23:34:23 2004 UTC

# Line 1 | Line 1
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   */
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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines