--- ray/src/meta/tscat.c 2003/08/01 14:14:24 1.3 +++ ray/src/meta/tscat.c 2003/11/15 02:13:37 1.4 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: tscat.c,v 1.3 2003/08/01 14:14:24 schorsch Exp $"; +static const char RCSid[] = "$Id: tscat.c,v 1.4 2003/11/15 02:13:37 schorsch Exp $"; #endif /* * PROGRAM TO PLOT TEL-A-GRAF POINTS TO METAFILE @@ -12,8 +12,8 @@ static const char RCSid[] = "$Id: tscat.c,v 1.3 2003/0 #include "tgraph.h" #include "paths.h" +#include "plot.h" - #define XLEGEND (XBEG+XSIZ+4*TSIZ) /* x start of legend */ #define YLEGEND (YBEG+2*YSIZ/3) /* y start of legend */ @@ -49,13 +49,11 @@ char *progname; - - -main(argc, argv) - -int argc; -char **argv; - +int +main( + int argc, + char **argv +) /* * Take Tel-A-Graf runnable files and convert them to * metafile primitives to send to standard output @@ -119,11 +117,10 @@ char **argv; - -plot(fp) /* read file and generate plot */ - -FILE *fp; - +void +plot( /* read file and generate plot */ + FILE *fp +) { int ncur = 0; /* curves seen so far */ char line[255], *s;