--- ray/src/px/ra_rgbe.c 1992/09/21 12:15:13 2.3 +++ ray/src/px/ra_rgbe.c 1993/04/27 12:37:23 2.5 @@ -9,13 +9,14 @@ static char SCCSid[] = "$SunId$ LBL"; */ #include +#include +#include "color.h" +#include "resolu.h" + #ifdef MSDOS #include #endif -#include "color.h" -#include "resolu.h" - extern char *malloc(); int bradj = 0; /* brightness adjustment */ @@ -89,7 +90,6 @@ char *err; transfer() /* transfer Radiance picture */ { - extern double pow(); int order; int xmax, ymax; COLR *scanin; @@ -127,7 +127,7 @@ transfer() /* transfer Radiance picture */ else fwritecolrs(scanin, xmax, stdout); if (ferror(stdout)) - quiterr("error writing rasterfile"); + quiterr("error writing output picture"); } /* free scanline */ free((char *)scanin);