9 |
|
*/ |
10 |
|
|
11 |
|
#include <stdio.h> |
12 |
– |
|
12 |
|
#include <math.h> |
14 |
– |
|
13 |
|
#include <signal.h> |
16 |
– |
|
14 |
|
#include <sys/ioctl.h> |
15 |
|
|
16 |
|
#include "pic.h" |
17 |
< |
|
17 |
> |
#include "resolu.h" |
18 |
|
#include "color.h" |
19 |
|
|
20 |
|
|
96 |
|
double exposure = 1.0; |
97 |
|
int wrong_fmt = 0; |
98 |
|
|
99 |
+ |
static gethfunc checkhead; |
100 |
|
|
101 |
+ |
|
102 |
|
main(argc, argv) |
103 |
|
int argc; |
104 |
|
char *argv[]; |
105 |
|
{ |
106 |
< |
int onintr(), checkhead(); |
106 |
> |
int onintr(); |
107 |
|
char sbuf[256]; |
108 |
|
register int i; |
109 |
|
|
166 |
|
} |
167 |
|
|
168 |
|
|
169 |
< |
int |
170 |
< |
checkhead(line) /* deal with line from header */ |
171 |
< |
char *line; |
169 |
> |
static int |
170 |
> |
checkhead( /* deal with line from header */ |
171 |
> |
char *line, |
172 |
> |
void *p |
173 |
> |
) |
174 |
|
{ |
175 |
|
char fmt[32]; |
176 |
|
|