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

Comparing ray/src/meta/plot.c (file contents):
Revision 1.1 by greg, Sat Feb 22 02:07:26 2003 UTC vs.
Revision 1.2 by schorsch, Sun Jun 8 12:03:10 2003 UTC

# Line 104 | Line 104 | struct setting {
104  
105   static struct setting  *sets[0200];
106  
107 + static void spop(int attrib);
108 + static int spat(int  pat, char  *patval);
109  
110 <
111 <
112 < set(attrib, value)              /* set attribute to value */
113 <
114 < int  attrib;
113 < char  *value;
114 <
110 > void
111 > set(            /* set attribute to value */
112 > int  attrib,
113 > char  *value
114 > )
115   {
116      struct setting  *newset;
117  
# Line 143 | Line 143 | char  *value;
143  
144  
145  
146 <
147 < unset(attrib)                   /* return attribute to previous setting */
148 <
149 < int  attrib;
150 <
146 > void
147 > unset(                  /* return attribute to previous setting */
148 > int  attrib
149 > )
150   {
151      register int  i;
152  
# Line 182 | Line 181 | int  attrib;
181  
182  
183  
184 <
185 <
186 < reset(attrib)                   /* return attribute to default setting */
187 <
189 < int  attrib;
190 <
184 > void
185 > reset(                  /* return attribute to default setting */
186 > int  attrib
187 > )
188   {
189      switch (attrib) {
190          case SALL:
# Line 220 | Line 217 | int  attrib;
217  
218  
219  
220 <
221 < static
222 < spop(attrib)                    /* pop top off attrib settings list */
223 <
227 < int  attrib;
228 <
220 > static void
221 > spop(                   /* pop top off attrib settings list */
222 > int  attrib
223 > )
224   {
225  
226      if (sets[attrib] != NULL) {
# Line 239 | Line 234 | int  attrib;
234  
235  
236  
242
237   static int
238 < spat(pat, patval)                       /* set a pattern */
239 <
240 < int  pat;
241 < char  *patval;
248 <
238 > spat(                   /* set a pattern */
239 > int  pat,
240 > char  *patval
241 > )
242   {
243      int  n, i, j, v;
244      char  *nextscan();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines