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

Comparing ray/src/gen/genbeads.c (file contents):
Revision 2.2 by greg, Thu Dec 19 15:07:08 1991 UTC vs.
Revision 2.4 by greg, Mon Aug 2 14:22:56 1993 UTC

# Line 12 | Line 12 | static char SCCSid[] = "$SunId$ LBL";
12   */
13  
14   #include  <stdio.h>
15 + #include  <math.h>
16  
16
17 #ifndef atof
18 extern double atof();
19 #endif
20
17   char  *mtype;           /* material type */
18  
19   char  *name;            /* name */
20  
21 + #ifdef  DCL_ATOF
22 + extern double  atof();
23 + #endif
24  
25 +
26   main(argc, argv)
27   int  argc;
28   char  **argv;
# Line 68 | Line 68 | double  r1[3];
68   double  rad;
69   double  inc;
70   {
71        double  sqrt();
71          register int  i;
72          double  v[3];
73          double  t;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines