# | Line 11 | Line 11 | static const char RCSid[] = "$Id$"; | |
---|---|---|
11 | */ | |
12 | ||
13 | #include "rtio.h" | |
14 | + | #include "paths.h" |
15 | #include <stdlib.h> | |
16 | #include <math.h> | |
17 | #include <ctype.h> | |
# | Line 77 | Line 78 | double F2; | |
78 | double solarbr = 0.0; | |
79 | int u_solar = 0; /* -1=irradiance, 1=radiance */ | |
80 | ||
80 | – | char *progname; |
81 | char errmsg[128]; | |
82 | ||
83 | void computesky(void); | |
# | Line 97 | Line 97 | main( | |
97 | int got_meridian = 0; | |
98 | int i; | |
99 | ||
100 | < | progname = argv[0]; |
100 | > | fixargv0(argv[0]); |
101 | if (argc == 2 && !strcmp(argv[1], "-defaults")) { | |
102 | printdefaults(); | |
103 | exit(0); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |