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

Comparing ray/src/common/words.c (file contents):
Revision 2.4 by gwlarson, Fri Jan 29 11:18:23 1999 UTC vs.
Revision 2.7 by greg, Mon Mar 10 17:26:26 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1996 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   * Routines for recognizing and moving about words in strings.
6 + *
7 + * External symbols declared in standard.h
8   */
9  
10 + #include "copyright.h"
11 +
12   #include  <ctype.h>
13 + #include  <string.h>
14  
13 #ifdef  BSD
14 #define  strchr         index
15 #endif
15  
17 #define  NULL           0
18
19 extern char  *strchr();
20
21
16   char *
17   atos(rs, nb, s)                 /* get word from string, returning rs */
18   char  *rs;
# Line 135 | Line 129 | register char  *s;
129   }
130  
131  
132 + int
133   isint(s)                        /* check integer format */
134   char  *s;
135   {
# Line 145 | Line 140 | char  *s;
140   }
141  
142  
143 + int
144   isintd(s, ds)                   /* check integer format with delimiter set */
145   char  *s, *ds;
146   {
# Line 155 | Line 151 | char  *s, *ds;
151   }
152  
153  
154 + int
155   isflt(s)                        /* check float format */
156   char  *s;
157   {
# Line 165 | Line 162 | char  *s;
162   }
163  
164  
165 + int
166   isfltd(s, ds)                   /* check integer format with delimiter set */
167   char  *s, *ds;
168   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines