30 |
|
*/ |
31 |
|
|
32 |
|
#include <ctype.h> |
33 |
+ |
#include "paths.h" |
34 |
|
#include "platform.h" |
35 |
|
#include "standard.h" |
36 |
|
#include "cmatrix.h" |
37 |
|
#include "resolu.h" |
38 |
|
#include "cmglare.h" |
39 |
|
|
39 |
– |
char *progname; /* global argv[0] */ |
40 |
– |
|
40 |
|
/* Sum together a set of images and write result to fout */ |
41 |
|
static int |
42 |
|
sum_images(const char *fspec, const CMATRIX *cv, FILE *fout) |
186 |
|
clock_t timer = clock(); |
187 |
|
#endif /* DC_GLARE */ |
188 |
|
|
189 |
< |
progname = argv[0]; |
189 |
> |
fixargv0(argv[0]); |
190 |
|
/* get options */ |
191 |
|
for (a = 1; a < argc && argv[a][0] == '-'; a++) |
192 |
|
switch (argv[a][1]) { |