diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-05-24 20:24:40 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-05-24 20:24:40 +0000 |
commit | ef0385ae616870cc57c02791166efcebcdc725d3 (patch) | |
tree | 4e2381fa19bd131b32bb9b726112363db1a15496 | |
parent | 8d5695cdb31dc92536dd29b8c36b0583add656ee (diff) |
Formerly file-truncate.c.~3~
-rw-r--r-- | libtrivfs/file-set-size.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libtrivfs/file-set-size.c b/libtrivfs/file-set-size.c index 56085790..764b9b95 100644 --- a/libtrivfs/file-set-size.c +++ b/libtrivfs/file-set-size.c @@ -16,9 +16,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "priv.h" +#include "trivfs_S.h" +#include <assert.h> error_t -diskfs_S_file_truncate (struct protid *cred, off_t size) +diskfs_S_file_truncate (struct trivfs_protid *cred, off_t size) { assert (!trivfs_support_write); return cred ? EBADF : EOPNOTSUPP; |