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