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.12 by greg, Tue Aug 16 18:09:53 2011 UTC vs.
Revision 2.13 by greg, Fri Nov 8 17:11:42 2013 UTC

# Line 23 | Line 23 | static const char      RCSid[] = "$Id$";
23   /* KEEP THIS ROUTINE CONSISTENT WITH THE DIFFERENT OBJECT FUNCTIONS! */
24  
25  
26 < extern int
26 > int
27   load_os(                        /* load associated data for object */
28 <        register OBJREC *op
28 >        OBJREC  *op
29   )
30   {
31          DATARRAY  *dp;
# Line 134 | Line 134 | sargerr:
134   }
135  
136  
137 < extern void
137 > void
138   preload_objs(void)              /* preload object data structures */
139   {
140 <        register OBJECT on;
140 >        OBJECT on;
141                                  /* note that nobjects may change during loop */
142          for (on = 0; on < nobjects; on++)
143                  load_os(objptr(on));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines