--- ray/src/px/aedimage.c 1991/11/11 14:38:48 1.11 +++ ray/src/px/aedimage.c 1998/10/27 09:08:25 2.4 @@ -13,6 +13,8 @@ static char SCCSid[] = "$SunId$ LBL"; #include +#include + #include #include @@ -97,7 +99,6 @@ FILE *fin; extern long ftell(); long scanpos[NROWS]; -extern double atof(); double exposure = 1.0; int wrong_fmt = 0; @@ -169,6 +170,7 @@ userr: } +int checkhead(line) /* deal with line from header */ char *line; { @@ -180,6 +182,7 @@ char *line; formatval(fmt, line); wrong_fmt = strcmp(fmt, COLRFMT); } + return(0); } @@ -520,7 +523,6 @@ int offset[3]; picreadcm(map) /* do gamma correction */ colormap map; { - extern double pow(); register int i, val; for (i = 0; i < 256; i++) {