--- ray/src/common/header.c 2003/06/07 12:50:20 2.14 +++ ray/src/common/header.c 2003/06/30 14:59:11 2.17 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: header.c,v 2.14 2003/06/07 12:50:20 schorsch Exp $"; +static const char RCSid[] = "$Id: header.c,v 2.17 2003/06/30 14:59:11 schorsch Exp $"; #endif /* * header.c - routines for reading and writing information headers. @@ -31,7 +31,7 @@ static const char RCSid[] = "$Id: header.c,v 2.14 2003 #include #include -#include "standard.h" +#include "resolu.h" #define MAXLINE 512 @@ -41,6 +41,8 @@ char FMTSTR[] = "FORMAT="; /* format identifier */ char TMSTR[] = "CAPDATE="; /* capture date identifier */ +extern void fputword(char *s, FILE *fp); + static int mycheck(); @@ -307,7 +309,7 @@ FILE *fout; cdat.fp = fout; cdat.fs[0] = '\0'; - if (getheader(fin, mycheck, &cdat) < 0) + if (getheader(fin, mycheck, (char *)&cdat) < 0) return(-1); if (!cdat.fs[0]) return(0);