--- ray/src/common/header.c 2003/06/20 00:25:49 2.15 +++ 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.15 2003/06/20 00:25:49 greg 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,6 +31,8 @@ static const char RCSid[] = "$Id: header.c,v 2.15 2003 #include #include +#include "resolu.h" + #define MAXLINE 512 char HDRSTR[] = "#?"; /* information header magic number */ @@ -39,6 +41,8 @@ char FMTSTR[] = "FORMAT="; /* format identifier */ char TMSTR[] = "CAPDATE="; /* capture date identifier */ +extern void fputword(char *s, FILE *fp); + static int mycheck(); @@ -305,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);