--- ray/src/px/pextrem.c 2003/06/08 12:03:10 2.7 +++ ray/src/px/pextrem.c 2004/01/02 12:47:01 2.9 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: pextrem.c,v 2.7 2003/06/08 12:03:10 schorsch Exp $"; +static const char RCSid[] = "$Id: pextrem.c,v 2.9 2004/01/02 12:47:01 schorsch Exp $"; #endif /* * Find extrema points in a Radiance picture. @@ -7,9 +7,11 @@ static const char RCSid[] = "$Id: pextrem.c,v 2.7 2003 #include #include +#include #include "platform.h" #include "color.h" +#include "resolu.h" int orig = 0; @@ -18,9 +20,14 @@ int wrongformat = 0; COLOR expos = WHTCOLOR; +static gethfunc headline; -headline(s) /* check header line */ -char *s; + +static int +headline( /* check header line */ + char *s, + void *p +) { char fmt[32]; double d;