From e8fb1d3efb114d1859f14fda2b6681d99df1f48a Mon Sep 17 00:00:00 2001 From: wkj Date: Mon, 17 May 2004 02:24:15 +0000 Subject: tr2post and aux/download; download is a shell script in $PLAN9/bin. --- src/cmd/postscript/tr2post/draw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cmd/postscript/tr2post/draw.c') diff --git a/src/cmd/postscript/tr2post/draw.c b/src/cmd/postscript/tr2post/draw.c index 0cb368ae..ace749ed 100644 --- a/src/cmd/postscript/tr2post/draw.c +++ b/src/cmd/postscript/tr2post/draw.c @@ -13,7 +13,7 @@ cover(double x, double y) { } void -drawspline(Biobufhdr *Bp, int flag) { /* flag!=1 connect end points */ +drawspline(Biobuf *Bp, int flag) { /* flag!=1 connect end points */ int x[100], y[100]; int i, N; /* @@ -96,7 +96,7 @@ drawspline(Biobufhdr *Bp, int flag) { /* flag!=1 connect end points */ } void -draw(Biobufhdr *Bp) { +draw(Biobuf *Bp) { int r, x1, y1, x2, y2, i; int d1, d2; @@ -234,7 +234,7 @@ drawpath(char *buf, int copy) { static void parsebuf(char *buf) { - char *p; /* usually the next token */ + char *p = (char*)0; /* usually the next token */ char *q; int gsavelevel = 0; /* non-zero if we've done a gsave */ -- cgit v1.2.3