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

Comparing ray/src/common/lamps.c (file contents):
Revision 2.7 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.9 by schorsch, Sun Jun 8 12:03:09 2003 UTC

# Line 10 | Line 10 | static const char      RCSid[] = "$Id$";
10   #include  <stdio.h>
11   #include  <stdlib.h>
12   #include  <ctype.h>
13 +
14 + #include  "standard.h"
15   #include  "color.h"
16  
17   extern char     *eindex(), *expsave();
# Line 25 | Line 27 | static LAMP    *lamps = NULL;          /* lamp list */
27  
28  
29   float *
30 < matchlamp(s)                            /* see if string matches any lamp */
31 < char    *s;
30 > matchlamp(                              /* see if string matches any lamp */
31 > char    *s
32 > )
33   {
34          register LAMP   *lp;
35  
# Line 39 | Line 42 | char   *s;
42   }
43  
44  
45 < loadlamps(file)                                 /* load lamp type file */
46 < char    *file;
45 > int
46 > loadlamps(                                      /* load lamp type file */
47 > char    *file
48 > )
49   {
50          LAMP    *lastp;
51          register LAMP   *lp;
# Line 126 | Line 131 | fmterr:
131   }
132  
133  
134 < freelamps()                     /* free our lamps list */
134 > void
135 > freelamps(void)                 /* free our lamps list */
136   {
137          register LAMP   *lp1, *lp2;
138          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines