31 |
|
#include <time.h> |
32 |
|
#include <ctype.h> |
33 |
|
|
34 |
+ |
#include "resolu.h" |
35 |
+ |
|
36 |
|
#define MAXLINE 512 |
37 |
|
|
38 |
|
char HDRSTR[] = "#?"; /* information header magic number */ |
41 |
|
|
42 |
|
char TMSTR[] = "CAPDATE="; /* capture date identifier */ |
43 |
|
|
44 |
+ |
extern void fputword(char *s, FILE *fp); |
45 |
+ |
|
46 |
|
static int mycheck(); |
47 |
|
|
48 |
|
|
309 |
|
|
310 |
|
cdat.fp = fout; |
311 |
|
cdat.fs[0] = '\0'; |
312 |
< |
if (getheader(fin, mycheck, &cdat) < 0) |
312 |
> |
if (getheader(fin, mycheck, (char *)&cdat) < 0) |
313 |
|
return(-1); |
314 |
|
if (!cdat.fs[0]) |
315 |
|
return(0); |