diff options
author | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
commit | cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch) | |
tree | e0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/lib9p/srv.c | |
parent | 226d80b8213821af0cbf092d1507c52b504fd368 (diff) | |
download | plan9port-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/lib9p/srv.c')
-rw-r--r-- | src/lib9p/srv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib9p/srv.c b/src/lib9p/srv.c index 2ceba545..29b1ac2d 100644 --- a/src/lib9p/srv.c +++ b/src/lib9p/srv.c @@ -7,20 +7,20 @@ int chatty9p; -// static char Ebadattach[] = "unknown specifier in attach"; +/* static char Ebadattach[] = "unknown specifier in attach"; */ static char Ebadoffset[] = "bad offset"; -// static char Ebadcount[] = "bad count"; +/* static char Ebadcount[] = "bad count"; */ static char Ebotch[] = "9P protocol botch"; static char Ecreatenondir[] = "create in non-directory"; static char Edupfid[] = "duplicate fid"; static char Eduptag[] = "duplicate tag"; static char Eisdir[] = "is a directory"; static char Enocreate[] = "create prohibited"; -// static char Enomem[] = "out of memory"; +/* static char Enomem[] = "out of memory"; */ static char Enoremove[] = "remove prohibited"; static char Enostat[] = "stat prohibited"; static char Enotfound[] = "file not found"; -// static char Enowrite[] = "write prohibited"; +/* static char Enowrite[] = "write prohibited"; */ static char Enowstat[] = "wstat prohibited"; static char Eperm[] = "permission denied"; static char Eunknownfid[] = "unknown fid"; @@ -348,7 +348,7 @@ rwalk(Req *r, char *error) if(error==nil && r->ifcall.nwname!=0) r->error = Enotfound; }else - r->error = nil; // No error on partial walks + r->error = nil; /* No error on partial walks */ }else{ if(r->ofcall.nwqid == 0){ /* Just a clone */ |