aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/plumb
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-04-01 19:24:03 +0000
committerrsc <devnull@localhost>2006-04-01 19:24:03 +0000
commitcbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch)
treee0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/cmd/plumb
parent226d80b8213821af0cbf092d1507c52b504fd368 (diff)
downloadplan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.gz
plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.bz2
plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.zip
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
Diffstat (limited to 'src/cmd/plumb')
-rw-r--r--src/cmd/plumb/fsys.c2
-rw-r--r--src/cmd/plumb/plumber.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/plumb/fsys.c b/src/cmd/plumb/fsys.c
index e9be1eb6..4ae99afd 100644
--- a/src/cmd/plumb/fsys.c
+++ b/src/cmd/plumb/fsys.c
@@ -92,7 +92,7 @@ static Dirtab dir[NDIR] =
{
{ ".", QTDIR, Qdir, 0500|DMDIR },
{ "rules", QTFILE, Qrules, 0600 },
- { "send", QTFILE, Qsend, 0200 },
+ { "send", QTFILE, Qsend, 0200 }
};
static int ndir = NQID;
diff --git a/src/cmd/plumb/plumber.h b/src/cmd/plumb/plumber.h
index 4b9267a5..c8f30816 100644
--- a/src/cmd/plumb/plumber.h
+++ b/src/cmd/plumb/plumber.h
@@ -14,7 +14,7 @@ enum
OPlumb,
OSrc,
OType,
- OWdir,
+ OWdir
};
/*
@@ -31,7 +31,7 @@ enum
VMatches,
VSet,
VStart,
- VTo,
+ VTo
};
struct Rule