19 |
|
#include <ctype.h> |
20 |
|
#include <sys/stat.h> |
21 |
|
#include <time.h> |
22 |
+ |
#include <signal.h> |
23 |
|
|
23 |
– |
/*#include "standard.h"*/ |
24 |
|
#include "platform.h" |
25 |
|
#include "paths.h" |
26 |
< |
#include "rtio.h" |
27 |
< |
#include "rterror.h" |
26 |
> |
#include "standard.h" |
27 |
|
#include "view.h" |
28 |
|
#include "vars.h" |
29 |
|
#include "netproc.h" |
139 |
|
static void bwait(int ncoms); |
140 |
|
static int bruncom(char *com, int fout, int (*rf)()); |
141 |
|
static int serverdown(void); |
142 |
< |
static int donecom(PSERVER *ps, int pn, int status); |
142 |
> |
static pscompfunc donecom; |
143 |
|
static int countviews(void); |
144 |
|
static int dofilt(int frame, int rvr); |
145 |
|
static void archive(void); |
156 |
|
static void putastat(void); |
157 |
|
|
158 |
|
|
159 |
< |
main(argc, argv) |
160 |
< |
int argc; |
161 |
< |
char *argv[]; |
159 |
> |
int |
160 |
> |
main( |
161 |
> |
int argc, |
162 |
> |
char *argv[] |
163 |
> |
) |
164 |
|
{ |
165 |
|
int explicate = 0; |
166 |
|
int i; |
223 |
|
quit(1); |
224 |
|
} |
225 |
|
quit(0); |
226 |
+ |
return 0; /* pro forma return */ |
227 |
|
userr: |
228 |
|
fprintf(stderr, "Usage: %s [-s][-n][-w][-e] anim_file\n", progname); |
229 |
|
quit(1); |
230 |
+ |
return 1; /* pro forma return */ |
231 |
|
} |
232 |
|
|
233 |
|
|
494 |
|
char combuf[256]; |
495 |
|
register int i; |
496 |
|
register char *cp; |
497 |
< |
char *pippt; |
497 |
> |
char *pippt = NULL; |
498 |
|
/* create rad command */ |
499 |
|
sprintf(rendopt, " @%s/render.opt", vval(DIRECTORY)); |
500 |
|
sprintf(combuf, |
658 |
|
static void |
659 |
|
filterframes(void) /* catch up with filtering */ |
660 |
|
{ |
658 |
– |
VIEW *vp; |
661 |
|
register int i; |
662 |
|
|
663 |
|
if (astat.tnext < astat.fnext) /* other work to do first */ |
1201 |
|
|
1202 |
|
static int |
1203 |
|
donecom( /* clean up after finished process */ |
1204 |
< |
PSERVER *ps, |
1205 |
< |
int pn, |
1206 |
< |
int status |
1204 |
> |
PSERVER *ps, |
1205 |
> |
int pn, |
1206 |
> |
int status |
1207 |
|
) |
1208 |
|
{ |
1209 |
|
register NETPROC *pp; |