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

Comparing ray/src/meta/bgraph.c (file contents):
Revision 1.3 by schorsch, Fri Aug 1 14:14:24 2003 UTC vs.
Revision 1.4 by schorsch, Sat Nov 15 02:13:36 2003 UTC

# Line 12 | Line 12 | static const char      RCSid[] = "$Id$";
12   #include  <stdio.h>
13  
14   #include  "meta.h"
15 + #include  "mgvars.h"
16 + #include  "mgraph.h"
17  
18   #define  istyp(s)       (s[0] == '-')
19  
# Line 21 | Line 23 | char  *progname;
23  
24   char  *libpath[4];
25  
26 + static void dofile(int  optc, char  *optv[], char  *file);
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          char  *getenv();
36          int  i, file0;
# Line 50 | Line 56 | char  *argv[];
56                          dofile(file0-1, argv+1, argv[i]);
57  
58          quit(0);
59 +        return 0; /* pro forma return */
60   }
61  
62  
63 < dofile(optc, optv, file)                /* plot a file */
64 < int  optc;
65 < char  *optv[];
66 < char  *file;
63 > static void
64 > dofile(         /* plot a file */
65 >        int  optc,
66 >        char  *optv[],
67 >        char  *file
68 > )
69   {
70          char  stmp[256];
71          int  i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines