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

Comparing ray/src/rt/preload.c (file contents):
Revision 2.7 by greg, Tue Feb 25 02:47:23 2003 UTC vs.
Revision 2.8 by schorsch, Tue Mar 30 16:13:01 2004 UTC

# Line 18 | Line 18 | static const char      RCSid[] = "$Id$";
18   #include "instance.h"
19   #include "color.h"
20   #include "data.h"
21 + #include "func.h"
22 + #include "ray.h"
23  
24  
25   /* KEEP THIS ROUTINE CONSISTENT WITH THE DIFFERENT OBJECT FUNCTIONS! */
26  
27  
28 < int
29 < load_os(op)                     /* load associated data for object */
30 < register OBJREC *op;
28 > extern int
29 > load_os(                        /* load associated data for object */
30 >        register OBJREC *op
31 > )
32   {
33          DATARRAY  *dp;
34  
# Line 120 | Line 123 | register OBJREC        *op;
123          return(0);
124   sargerr:
125          objerror(op, USER, "too few string arguments");
126 +        return 0; /* pro forma return */
127   }
128  
129  
130 < void
131 < preload_objs()          /* preload object data structures */
130 > extern void
131 > preload_objs(void)              /* preload object data structures */
132   {
133          register OBJECT on;
134                                  /* note that nobjects may change during loop */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines