| 25 |
|
*/ |
| 26 |
|
|
| 27 |
|
#include "copyright.h" |
| 28 |
+ |
#include "resolu.h" |
| 29 |
|
|
| 30 |
|
#include <stdio.h> |
| 31 |
|
#include <string.h> |
| 40 |
|
|
| 41 |
|
char TMSTR[] = "CAPDATE="; /* capture date identifier */ |
| 42 |
|
|
| 43 |
+ |
extern void fputword(char *s, FILE *fp); |
| 44 |
+ |
|
| 45 |
|
static int mycheck(); |
| 46 |
|
|
| 47 |
|
|
| 141 |
|
char **av; |
| 142 |
|
FILE *fp; |
| 143 |
|
{ |
| 141 |
– |
int quote; |
| 142 |
– |
|
| 144 |
|
while (ac-- > 0) { |
| 145 |
|
fputword(*av++, fp); |
| 146 |
|
fputc(ac ? ' ' : '\n', fp); |
| 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); |