# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |