new names, new headers
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sat, 22 Jan 1983 16:41:18 +0000 (08:41 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sat, 22 Jan 1983 16:41:18 +0000 (08:41 -0800)
SCCS-vsn: usr.bin/pascal/pix/pix.c 1.4

usr/src/usr.bin/pascal/pix/pix.c

index 33ba08c..052d0e9 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 1979 Regents of the University of California */
 
 /* Copyright (c) 1979 Regents of the University of California */
 
-static char sccsid[] = "@(#)pix.c 1.3 %G%";
+static char sccsid[] = "@(#)pix.c 1.4 %G%";
 
 /*
  * pix - pi then px
 
 /*
  * pix - pi then px
@@ -10,6 +10,7 @@ static char sccsid[] = "@(#)pix.c 1.3 %G%";
 
 #include "whoami.h"
 #include "objfmt.h"
 
 #include "whoami.h"
 #include "objfmt.h"
+#include "config.h"
 #define        ERRS    1
 
 char   *name;
 #define        ERRS    1
 
 char   *name;
@@ -64,7 +65,7 @@ main(argc, argv)
                argv[ac] = 0;
                argv[0] = name - 2;
                do
                argv[ac] = 0;
                argv[0] = name - 2;
                do
-                       execv(PI_COMP, argv);
+                       execv(pi_comp, argv);
                while (errno == ETXTBSY);
                write(2, "Can't find pi\n", 14);
                onintr();
                while (errno == ETXTBSY);
                write(2, "Can't find pi\n", 14);
                onintr();
@@ -86,7 +87,7 @@ main(argc, argv)
        argv[ac] = "pix";
        argv[argc] = 0;
        do
        argv[ac] = "pix";
        argv[argc] = 0;
        do
-               execv(PX_DEBUG, &argv[ac]);
+               execv(px_debug, &argv[ac]);
        while (errno == ETXTBSY);
        write(2, "Can't find px\n", 14);
        onintr();
        while (errno == ETXTBSY);
        write(2, "Can't find px\n", 14);
        onintr();