10 |
|
* cc -o ../tbar tbar.c tgraph.o primout.o mfio.o syscalls.o misc.o -lm |
11 |
|
*/ |
12 |
|
|
13 |
< |
#ifdef _WIN32 |
14 |
< |
#include <process.h> /* getpid() */ |
15 |
< |
#endif |
13 |
> |
#include "rtprocess.h" /* getpid() */ |
14 |
> |
#include "tgraph.h" |
15 |
|
|
17 |
– |
#include "tgraph.h" |
16 |
|
|
19 |
– |
|
17 |
|
#define XLEGEND (XBEG+XSIZ+4*TSIZ) /* x start of legend */ |
18 |
|
|
19 |
|
#define YLEGEND (YBEG+2*YSIZ/3) /* y start of legend */ |
65 |
|
char tfname[MAXFNAME]; |
66 |
|
FILE *fp; |
67 |
|
int axflag; |
71 |
– |
|
72 |
– |
#ifdef CPM |
73 |
– |
fixargs("tbar", &argc, &argv); |
74 |
– |
#endif |
68 |
|
|
69 |
|
progname = *argv++; |
70 |
|
argc--; |