aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/plot
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-19 23:04:36 +0000
committerrsc <devnull@localhost>2004-04-19 23:04:36 +0000
commit1b135a78054e05cd62dfa1a2606f93e3486f2b57 (patch)
tree1bbbc0936e05551e4d8b7589d1dd92b5f4ff54c6 /src/cmd/plot
parente15e6c08203eea8c32e95f42ad16c2aeb7fb65ba (diff)
downloadplan9port-1b135a78054e05cd62dfa1a2606f93e3486f2b57.tar.gz
plan9port-1b135a78054e05cd62dfa1a2606f93e3486f2b57.tar.bz2
plan9port-1b135a78054e05cd62dfa1a2606f93e3486f2b57.zip
clean up when finished.
don't set PLAN9 don't set PLAN9
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