10 |
|
|
11 |
|
#include "rtprocess.h" |
12 |
|
#include "meta.h" |
13 |
+ |
#include "plot.h" |
14 |
|
|
15 |
|
|
16 |
|
#define OUTFILT "pexpand +OCIms" /* output filter */ |
22 |
|
|
23 |
|
char *progname; |
24 |
|
|
25 |
+ |
static void plot4(FILE *fp); |
26 |
+ |
static void doseg(int n); |
27 |
|
|
28 |
< |
main(argc, argv) |
29 |
< |
int argc; |
30 |
< |
char *argv[]; |
28 |
> |
|
29 |
> |
int |
30 |
> |
main( |
31 |
> |
int argc, |
32 |
> |
char *argv[] |
33 |
> |
) |
34 |
|
{ |
35 |
|
FILE *fp; |
36 |
|
int i; |
54 |
|
} |
55 |
|
|
56 |
|
|
57 |
< |
plot4(fp) /* put a file into its place on page */ |
58 |
< |
FILE *fp; |
57 |
> |
void |
58 |
> |
plot4( /* put a file into its place on page */ |
59 |
> |
FILE *fp |
60 |
> |
) |
61 |
|
{ |
62 |
|
static int nplts = 0; |
63 |
|
PRIMITIVE curp; |
76 |
|
} |
77 |
|
|
78 |
|
|
79 |
< |
doseg(n) /* do segment number n */ |
80 |
< |
int n; |
79 |
> |
void |
80 |
> |
doseg( /* do segment number n */ |
81 |
> |
int n |
82 |
> |
) |
83 |
|
{ |
84 |
|
switch (n) { |
85 |
|
case 0: /* upper left */ |