diff options
-rw-r--r-- | src/cmd/vac/file.c | 6 | ||||
-rw-r--r-- | src/cmd/vac/vac.h | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/cmd/vac/file.c b/src/cmd/vac/file.c index c79b0108..e5629aed 100644 --- a/src/cmd/vac/file.c +++ b/src/cmd/vac/file.c @@ -993,12 +993,6 @@ vacfileisdir(VacFile *f) } int -vacfilegetmode(VacFile *f) -{ - return f->dir.mode; -} - -int vacfileisroot(VacFile *f) { return f == f->fs->root; diff --git a/src/cmd/vac/vac.h b/src/cmd/vac/vac.h index 7e1d0884..9d0cf525 100644 --- a/src/cmd/vac/vac.h +++ b/src/cmd/vac/vac.h @@ -122,7 +122,7 @@ uvlong vacfilegetid(VacFile *file); ulong vacfilegetmcount(VacFile *file); int vacfileisdir(VacFile *file); int vacfileisroot(VacFile *file); -int vacfilegetmode(VacFile *file); +ulong vacfilegetmode(VacFile *file); int vacfilegetblocksize(VacFile *file, u32int bn, u8int *score); int vacfilegetsize(VacFile *file, uvlong *size); int vacfilegetdir(VacFile *file, VacDir *dir); |