13 |
|
#include "rtprocess.h" /* getpid() */ |
14 |
|
#include "platform.h" |
15 |
|
#include "RpictSimulManager.h" |
16 |
+ |
#include "func.h" |
17 |
|
|
18 |
|
extern char *progname; /* argv[0] */ |
19 |
|
const char *sigerr[NSIG]; /* signal error messages */ |
61 |
|
void |
62 |
|
quit(int code) /* quit program */ |
63 |
|
{ |
64 |
< |
if (!code) |
64 |
< |
code = myRPmanager.Cleanup(); |
65 |
< |
|
66 |
< |
exit(code); |
64 |
> |
exit(code); // don't bother about freeing anything |
65 |
|
} |
66 |
|
|
67 |
|
/* Set default options */ |
108 |
|
strcat(RFeatureList, RXPICT_FEATURES); |
109 |
|
if (argc > 1 && !strcmp(argv[1], "-features")) |
110 |
|
return feature_status(argc-2, argv+2); |
111 |
+ |
/* initialize calcomp routines */ |
112 |
+ |
initfunc(); |
113 |
|
/* set defaults */ |
114 |
|
default_options(); |
115 |
|
/* option city */ |