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.6 by greg, Tue Feb 25 02:47:22 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  
15   #ifdef  BSD
16   #define  strchr         index
17   #endif
18  
17 #define  NULL           0
19  
19 extern char  *strchr();
20
21
20   char *
21   atos(rs, nb, s)                 /* get word from string, returning rs */
22   char  *rs;
# Line 135 | Line 133 | register char  *s;
133   }
134  
135  
136 + int
137   isint(s)                        /* check integer format */
138   char  *s;
139   {
# Line 145 | Line 144 | char  *s;
144   }
145  
146  
147 + int
148   isintd(s, ds)                   /* check integer format with delimiter set */
149   char  *s, *ds;
150   {
# Line 155 | Line 155 | char  *s, *ds;
155   }
156  
157  
158 + int
159   isflt(s)                        /* check float format */
160   char  *s;
161   {
# Line 165 | Line 166 | char  *s;
166   }
167  
168  
169 + int
170   isfltd(s, ds)                   /* check integer format with delimiter set */
171   char  *s, *ds;
172   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines