--- ray/src/px/aedimage.c 1991/11/11 14:38:48 1.11 +++ ray/src/px/aedimage.c 2003/02/22 02:07:27 2.5 @@ -1,9 +1,6 @@ -/* Copyright (c) 1986 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: aedimage.c,v 2.5 2003/02/22 02:07:27 greg Exp $"; #endif - /* * aedimage.c - RADIANCE driver for AED 512 terminal. * @@ -13,6 +10,8 @@ static char SCCSid[] = "$SunId$ LBL"; #include +#include + #include #include @@ -97,7 +96,6 @@ FILE *fin; extern long ftell(); long scanpos[NROWS]; -extern double atof(); double exposure = 1.0; int wrong_fmt = 0; @@ -169,6 +167,7 @@ userr: } +int checkhead(line) /* deal with line from header */ char *line; { @@ -180,6 +179,7 @@ char *line; formatval(fmt, line); wrong_fmt = strcmp(fmt, COLRFMT); } + return(0); } @@ -244,6 +244,7 @@ char *err; } +void eputs(s) char *s; { @@ -251,6 +252,7 @@ char *s; } +void quit(status) int status; { @@ -520,7 +522,6 @@ int offset[3]; picreadcm(map) /* do gamma correction */ colormap map; { - extern double pow(); register int i, val; for (i = 0; i < 256; i++) {