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

Comparing ray/src/ot/oconv.c (file contents):
Revision 2.22 by greg, Tue Jun 17 18:18:50 2014 UTC vs.
Revision 2.23 by greg, Mon Feb 6 22:40:21 2023 UTC

# Line 178 | Line 178 | cputs(void)                                    /* interactive error */
178  
179   void
180   wputs(                          /* warning message */
181 <        char  *s
181 >        const char  *s
182   )
183   {
184          if (!nowarn)
# Line 188 | Line 188 | wputs(                         /* warning message */
188  
189   void
190   eputs(                          /* put string to stderr */
191 <        register char  *s
191 >        const char  *s
192   )
193   {
194          static int  inln = 0;
# Line 217 | Line 217 | eputs(                         /* put string to stderr */
217  
218   static void
219   addobject(                      /* add an object to a cube */
220 <        register CUBE  *cu,
220 >        CUBE  *cu,
221          OBJECT  obj
222   )
223   {
# Line 257 | Line 257 | addobject(                     /* add an object to a cube */
257  
258   static void
259   add2full(                       /* add object to full node */
260 <        register CUBE  *cu,
260 >        CUBE  *cu,
261          OBJECT  obj,
262          int  inc
263   )
# Line 266 | Line 266 | add2full(                      /* add object to full node */
266          OBJECT  oset[MAXSET+1];
267          CUBE  cukid;
268          unsigned char  inflg[(MAXSET+7)/8], volflg[(MAXSET+7)/8];
269 <        register int  i, j;
269 >        int  i, j;
270  
271          objset(oset, cu->cutree);
272          cukid.cusize = cu->cusize * 0.5;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines