| 26 |
|
|
| 27 |
|
#include "copyright.h" |
| 28 |
|
|
| 29 |
– |
#include <stdio.h> |
| 30 |
– |
#include <string.h> |
| 29 |
|
#include <time.h> |
| 30 |
|
#include <ctype.h> |
| 31 |
|
|
| 32 |
+ |
#include "rtio.h" |
| 33 |
+ |
#include "resolu.h" |
| 34 |
+ |
|
| 35 |
|
#define MAXLINE 512 |
| 36 |
|
|
| 37 |
|
char HDRSTR[] = "#?"; /* information header magic number */ |
| 139 |
|
char **av; |
| 140 |
|
FILE *fp; |
| 141 |
|
{ |
| 141 |
– |
int quote; |
| 142 |
– |
|
| 142 |
|
while (ac-- > 0) { |
| 143 |
|
fputword(*av++, fp); |
| 144 |
|
fputc(ac ? ' ' : '\n', fp); |
| 306 |
|
|
| 307 |
|
cdat.fp = fout; |
| 308 |
|
cdat.fs[0] = '\0'; |
| 309 |
< |
if (getheader(fin, mycheck, &cdat) < 0) |
| 309 |
> |
if (getheader(fin, mycheck, (char *)&cdat) < 0) |
| 310 |
|
return(-1); |
| 311 |
|
if (!cdat.fs[0]) |
| 312 |
|
return(0); |