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

Comparing ray/src/cal/ev.c (file contents):
Revision 1.1 by greg, Sat Feb 22 02:07:20 2003 UTC vs.
Revision 1.6 by schorsch, Fri Nov 14 17:31:24 2003 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7   *     1/29/87
8   */
9  
10 + #include  <stdlib.h>
11   #include  <stdio.h>
12 + #include  <errno.h>
13  
14   #include  "calcomp.h"
15 + #include  "rterror.h"
16  
17  
18 + int
19   main(argc, argv)
20   int  argc;
21   char  *argv[];
22   {
19        extern int  errno;
23          int  i;
24  
25          esupport |= E_FUNCTION;
# Line 31 | Line 34 | char  *argv[];
34                  printf("%.9g\n", eval(argv[i]));
35  
36          quit(errno ? 2 : 0);
37 +        return (errno ? 2 : 0); /* pro forma return */
38   }
39  
40  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines