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

Comparing ray/src/common/readoct.c (file contents):
Revision 2.16 by schorsch, Thu Jun 5 19:29:34 2003 UTC vs.
Revision 2.17 by schorsch, Sat Jun 7 12:50:20 2003 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7  
8   #include "copyright.h"
9  
10 < #include  "standard.h"
10 > #include  <stdio.h>
11 > #ifdef _WIN32
12 > #define popen _popen
13 > #define pclose _pclose
14 > #endif
15  
16 + #include  "standard.h"
17   #include  "octree.h"
13
18   #include  "object.h"
15
19   #include  "otypes.h"
20 + #include  "resolu.h"
21  
22   static double  ogetflt();
23   static long  ogetint();
24   static char  *ogetstr();
25   static int  nonsurfinset();
26 < static int  octerror(), skiptree();
26 > static void  octerror(int  etyp, char  *msg);
27 > static void  skiptree(void);
28   static OCTREE  getfullnode(), gettree();
29  
30   static char  *infn;                     /* input file specification */
# Line 197 | Line 202 | gettree()                      /* get a pre-ordered octree */
202          default:
203                  octerror(USER, "damaged octree");
204          }
205 +        return NULL; /* pro forma return */
206   }
207  
208  
# Line 215 | Line 221 | register OBJECT  *os;
221   }
222  
223  
224 < static
225 < skiptree()                              /* skip octree on input */
224 > static void
225 > skiptree(void)                          /* skip octree on input */
226   {
227          register int  i;
228          
# Line 240 | Line 246 | skiptree()                             /* skip octree on input */
246   }
247  
248  
249 < static
249 > static void
250   octerror(etyp, msg)                     /* octree error */
251   int  etyp;
252   char  *msg;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines