Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
This commit is contained in:
parent
226d80b821
commit
cbeb0b26e4
492 changed files with 3218 additions and 3167 deletions
|
|
@ -106,7 +106,7 @@ _fsdecref(CFsys *fs)
|
|||
|
||||
qlock(&fs->lk);
|
||||
--fs->ref;
|
||||
//fprint(2, "fsdecref %p to %d\n", fs, fs->ref);
|
||||
/*fprint(2, "fsdecref %p to %d\n", fs, fs->ref); */
|
||||
if(fs->ref == 0){
|
||||
if(fs->fd >= 0)
|
||||
close(fs->fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue