aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/netfiles
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/netfiles
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/netfiles')
-rw-r--r--src/cmd/netfiles/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/netfiles/main.c b/src/cmd/netfiles/main.c
index 9bd9672b..45e19416 100644
--- a/src/cmd/netfiles/main.c
+++ b/src/cmd/netfiles/main.c
@@ -41,7 +41,7 @@ Win *mkwin(char*);
int do3(Win *w, char *arg);
enum {
- STACK = 128*1024,
+ STACK = 128*1024
};
enum {
@@ -65,7 +65,7 @@ char *cmds[] = {
char *debugstr[] = {
"off",
"minimal",
- "chatty",
+ "chatty"
};
typedef struct Arg Arg;
@@ -218,7 +218,7 @@ doplumb(void *vm)
winaddr(w, "%s", addr);
winctl(w, "dot=addr");
winctl(w, "show");
-// windecref(w);
+/* windecref(w); */
plumbfree(m);
}