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

Comparing ray/src/meta/plot4.c (file contents):
Revision 1.3 by schorsch, Mon Oct 27 10:28:59 2003 UTC vs.
Revision 1.4 by schorsch, Sat Nov 15 02:13:37 2003 UTC

# Line 10 | Line 10 | static const char      RCSid[] = "$Id$";
10  
11   #include  "rtprocess.h"
12   #include  "meta.h"
13 + #include  "plot.h"
14  
15  
16   #define  OUTFILT  "pexpand +OCIms"      /* output filter */
# Line 21 | Line 22 | extern FILE  *pout;                    /* the output stream */
22  
23   char  *progname;
24  
25 + static void plot4(FILE  *fp);
26 + static void doseg(int  n);
27  
28 < main(argc, argv)
29 < int  argc;
30 < char  *argv[];
28 >
29 > int
30 > main(
31 >        int  argc,
32 >        char  *argv[]
33 > )
34   {
35          FILE  *fp;
36          int  i;
# Line 48 | Line 54 | char  *argv[];
54   }
55  
56  
57 < plot4(fp)                       /* put a file into its place on page */
58 < FILE  *fp;
57 > void
58 > plot4(                  /* put a file into its place on page */
59 >        FILE  *fp
60 > )
61   {
62          static int  nplts = 0;
63          PRIMITIVE  curp;
# Line 68 | Line 76 | FILE  *fp;
76   }
77  
78  
79 < doseg(n)                /* do segment number n */
80 < int  n;
79 > void
80 > doseg(          /* do segment number n */
81 >        int  n
82 > )
83   {
84          switch (n) {
85          case 0:                         /* upper left */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines