# | Line 13 | Line 13 | static char SCCSid[] = "$SunId$ LBL"; | |
---|---|---|
13 | ||
14 | #include <stdio.h> | |
15 | ||
16 | + | #include <math.h> |
17 | + | |
18 | #include <signal.h> | |
19 | ||
20 | #include <sys/ioctl.h> | |
# | Line 168 | Line 170 | userr: | |
170 | } | |
171 | ||
172 | ||
173 | + | int |
174 | checkhead(line) /* deal with line from header */ | |
175 | char *line; | |
176 | { | |
# | Line 179 | Line 182 | char *line; | |
182 | formatval(fmt, line); | |
183 | wrong_fmt = strcmp(fmt, COLRFMT); | |
184 | } | |
185 | + | return(0); |
186 | } | |
187 | ||
188 | ||
# | Line 519 | Line 523 | int offset[3]; | |
523 | picreadcm(map) /* do gamma correction */ | |
524 | colormap map; | |
525 | { | |
522 | – | extern double pow(); |
526 | register int i, val; | |
527 | ||
528 | for (i = 0; i < 256; i++) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |