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.3 by schorsch, Sun Jul 27 22:12:01 2003 UTC vs.
Revision 1.6 by schorsch, Fri Nov 14 17:31:24 2003 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
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   {
21        extern int  errno;
23          int  i;
24  
25          esupport |= E_FUNCTION;
# Line 33 | 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