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

Comparing ray/src/gen/replmarks.c (file contents):
Revision 2.5 by greg, Sat Feb 22 02:07:24 2003 UTC vs.
Revision 2.8 by schorsch, Mon Oct 27 10:27:25 2003 UTC

# Line 1 | Line 1
1   #ifndef lint
2 < static const char       RCSid[] = "$Id$";
2 > static const char RCSid[] = "$Id";
3   #endif
4   /*
5   * Replace markers in Radiance scene description with objects or instances.
# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7   *      Created:        17 Feb 1991     Greg Ward
8   */
9  
10 #include <stdio.h>
10   #include <stdlib.h>
11   #include <ctype.h>
12   #include <math.h>
13 + #include <stdio.h>
14  
15 + #include "platform.h"
16 + #include "rtprocess.h"
17   #include "fvect.h"
18  
19   #ifdef  M_PI
# Line 146 | Line 148 | cvcomm(fname, fin)             /* convert a command */
148   char    *fname;
149   FILE    *fin;
150   {
151 <        FILE    *pin, *popen();
151 >        FILE    *pin;
152          char    buf[512], *fgetline();
153  
154          fgetline(buf, sizeof(buf), fin);
# Line 168 | Line 170 | cvobject(fname, fin)           /* convert an object */
170   char    *fname;
171   FILE    *fin;
172   {
173 +        extern char     *fgetword();
174          char    buf[128], typ[16], nam[128];
175          int     i, n;
176          register int    j;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines