diff options
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/acme/acme.c | 4 | ||||
-rw-r--r-- | src/cmd/acme/cols.c | 2 | ||||
-rw-r--r-- | src/cmd/mkfile | 1 | ||||
-rw-r--r-- | src/cmd/plumb/plumb.c | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/src/cmd/acme/acme.c b/src/cmd/acme/acme.c index 87924caa..fbfb9f14 100644 --- a/src/cmd/acme/acme.c +++ b/src/cmd/acme/acme.c @@ -45,7 +45,7 @@ Command *command; void acmeerrorinit(void); void readfile(Column*, char*); -int shutdown(void*, char*); +static int shutdown(void*, char*); void derror(Display *d, char *errorstr) @@ -270,7 +270,7 @@ char *oknotes[] ={ int dumping; -int +static int shutdown(void *v, char *msg) { int i; diff --git a/src/cmd/acme/cols.c b/src/cmd/acme/cols.c index 14a715b3..6ad3058e 100644 --- a/src/cmd/acme/cols.c +++ b/src/cmd/acme/cols.c @@ -472,7 +472,7 @@ coldragwin(Column *c, Window *w, int but) } /* is it a flick to the right? */ if(abs(p.y-op.y)<10 && p.x>op.x+30 && rowwhichcol(c->row, p)==c) - p.x += Dx(w->r); /* yes: toss to next column */ + p.x = op.x+Dx(w->r); /* yes: toss to next column */ nc = rowwhichcol(c->row, p); if(nc!=nil && nc!=c){ colclose(c, w, FALSE); diff --git a/src/cmd/mkfile b/src/cmd/mkfile index 191ecfe3..bd13a773 100644 --- a/src/cmd/mkfile +++ b/src/cmd/mkfile @@ -12,3 +12,4 @@ DIRS=`ls -l |sed -n 's/^d.* //p' |egrep -v "$BUGGERED"` <$PLAN9/src/mkdirs +dir-install: $PLAN9/bin/yacc diff --git a/src/cmd/plumb/plumb.c b/src/cmd/plumb/plumb.c index a10f2c37..d693ed58 100644 --- a/src/cmd/plumb/plumb.c +++ b/src/cmd/plumb/plumb.c @@ -9,7 +9,7 @@ Plumbmsg m; void usage(void) { - fprint(2, "usage: plumb [-p plumbfile] [-a 'attr=value ...'] [-s src] [-d dst] [-t type] [-w wdir] -i | data1\n"); + fprint(2, "usage: plumb [-p plumbfile] [-a 'attr=value ...'] [-s src] [-d dst] [-t type] [-w wdir] -i | data1\n"); exits("usage"); } |