| 10 |
|
|
| 11 |
|
#include "paths.h" /* win_popen() */ |
| 12 |
|
#include "mkillum.h" |
| 13 |
+ |
#include "func.h" |
| 14 |
|
|
| 15 |
|
/* default parameters */ |
| 16 |
|
#define SAMPDENS 48 /* points per projected steradian */ |
| 70 |
|
dstrsrc = 0.5; |
| 71 |
|
directrelay = 3; |
| 72 |
|
ambounce = 2; |
| 73 |
+ |
/* initialize calcomp routines */ |
| 74 |
+ |
initfunc(); |
| 75 |
|
/* get options from command line */ |
| 76 |
|
for (i = 1; i < argc; i++) { |
| 77 |
|
while ((rval = expandarg(&argc, &argv, i)) > 0) |
| 212 |
|
filter(pfp, buf); |
| 213 |
|
if (pclose(pfp) != 0) { |
| 214 |
|
sprintf(errmsg, "bad status from \"%s\"", buf); |
| 215 |
< |
error(USER, errmsg); |
| 215 |
> |
error(WARNING, errmsg); |
| 216 |
|
} |
| 217 |
|
} else { /* object */ |
| 218 |
|
ungetc(c, infp); |