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

Comparing ray/src/util/makedist.c (file contents):
Revision 1.2 by greg, Thu Mar 14 17:38:24 1991 UTC vs.
Revision 2.4 by greg, Sat Feb 22 02:07:30 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1991 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   *  makedist.c - program to make a source distribution.
6   *
# Line 20 | Line 17 | static char SCCSid[] = "$SunId$ LBL";
17  
18   #include  <stdio.h>
19  
20 + #include <stdlib.h>
21 +
22   #include  "random.h"
23  
24   #include  "setscan.h"
25  
26 + #ifndef BSD
27 + #define vfork           fork
28 + #endif
29  
30   #define  FTINY          1e-7
31  
# Line 36 | Line 38 | int  rtargc = 2;
38  
39   #define  passarg(s)     (rtargv[rtargc++] = s)
40  
39                                        /* default angles */
41   ANGLE  alpha[181] = {10, 25, 40, 55, 70, 85, AEND};
42   ANGLE  beta[361] = {0,30,60,90,120,150,180,210,240,270,300,330,AEND};
43  
# Line 60 | Line 61 | main(argc, argv)
61   int  argc;
62   char  *argv[];
63   {
63        double  atof();
64          int  i;
65  
66          progname = argv[0];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines