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/cmd/ramfs.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/cmd/ramfs.c')
-rw-r--r-- | src/cmd/ramfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/ramfs.c b/src/cmd/ramfs.c index 4cf50043..6330f04c 100644 --- a/src/cmd/ramfs.c +++ b/src/cmd/ramfs.c @@ -14,7 +14,7 @@ enum OPERM = 0x3, /* mask of all permission types in open mode */ Nram = 2048, Maxsize = 512*1024*1024, - Maxfdata = 8192, + Maxfdata = 8192 }; typedef struct Fid Fid; @@ -55,7 +55,7 @@ enum Pread = 4, Pother = 1, Pgroup = 8, - Powner = 64, + Powner = 64 }; ulong path; /* incremented for each new file */ @@ -703,7 +703,7 @@ rwstat(Fid *f) */ if(dir.gid[0]!='\0' && strcmp(r->group, dir.gid)!=0){ if(strcmp(f->user, r->user) == 0) - // if(strcmp(f->user, dir.gid) == 0) + /* if(strcmp(f->user, dir.gid) == 0) */ goto ok; if(strcmp(f->user, r->group) == 0) if(strcmp(f->user, dir.gid) == 0) |