aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/plot
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/plot')
-rw-r--r--src/cmd/plot/libplot/mkfile1
-rw-r--r--src/cmd/plot/libplot/subr.c1
-rw-r--r--src/cmd/plot/mkfile1
3 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd/plot/libplot/mkfile b/src/cmd/plot/libplot/mkfile
index a73bd617..dc33ac63 100644
--- a/src/cmd/plot/libplot/mkfile
+++ b/src/cmd/plot/libplot/mkfile
@@ -1,4 +1,3 @@
-PLAN9=../../../..
<$PLAN9/src/mkhdr
LIB=../libplot.a
diff --git a/src/cmd/plot/libplot/subr.c b/src/cmd/plot/libplot/subr.c
index cf4cf89e..886659fa 100644
--- a/src/cmd/plot/libplot/subr.c
+++ b/src/cmd/plot/libplot/subr.c
@@ -11,6 +11,7 @@ struct penvir E[9] = {
{ 0., 1024., 0., 0., 1., -1.,1024., -1024., 0., 0., pSMALL, 1., 1, 0.,1, DBlack, DWhite}
};
struct penvir *e0 = E, *e1 = &E[1], *esave;
+int
bcolor(char *s){
int c;
while (*s != NULL) {
diff --git a/src/cmd/plot/mkfile b/src/cmd/plot/mkfile
index 0eb1a795..77ebd7e1 100644
--- a/src/cmd/plot/mkfile
+++ b/src/cmd/plot/mkfile
@@ -1,4 +1,3 @@
-PLAN9=../../..
<$PLAN9/src/mkhdr
TARG=plot