--- ray/src/meta/plot4.c 2003/02/22 02:07:26 1.1 +++ ray/src/meta/plot4.c 2003/10/27 10:28:59 1.3 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: plot4.c,v 1.1 2003/02/22 02:07:26 greg Exp $"; +static const char RCSid[] = "$Id: plot4.c,v 1.3 2003/10/27 10:28:59 schorsch Exp $"; #endif /* * plot4.c - program to put four metafile pages onto one. @@ -8,6 +8,7 @@ static const char RCSid[] = "$Id: plot4.c,v 1.1 2003/0 * 7/10/86 */ +#include "rtprocess.h" #include "meta.h" @@ -25,21 +26,12 @@ main(argc, argv) int argc; char *argv[]; { -#ifdef UNIX - FILE *popen(); -#endif FILE *fp; int i; -#ifdef CPM - fixargs("plot4", &argc, &argv); -#endif - progname = argv[0]; -#ifdef UNIX pout = popen(OUTFILT, "w"); -#endif if (argc > 1) for (i = 1; i < argc; i++) { @@ -52,11 +44,7 @@ char *argv[]; pglob(PEOF, 0200, NULL); -#ifdef UNIX return(pclose(pout)); -#else - return(0); -#endif }