diff options
Diffstat (limited to 'libtrivfs')
-rw-r--r-- | libtrivfs/file-chown.c | 2 | ||||
-rw-r--r-- | libtrivfs/file-getlinknode.c | 2 | ||||
-rw-r--r-- | libtrivfs/file-lock.c | 4 | ||||
-rw-r--r-- | libtrivfs/file-utimes.c | 5 | ||||
-rw-r--r-- | libtrivfs/io-pathconf.c | 2 |
5 files changed, 8 insertions, 7 deletions
diff --git a/libtrivfs/file-chown.c b/libtrivfs/file-chown.c index 0d1e6b3f..b8fe3d62 100644 --- a/libtrivfs/file-chown.c +++ b/libtrivfs/file-chown.c @@ -18,7 +18,7 @@ #include "priv.h" #include "fs_S.h" -error_t +kern_return_t trivfs_S_file_chown (struct trivfs_protid *cred, uid_t uid, gid_t gid) diff --git a/libtrivfs/file-getlinknode.c b/libtrivfs/file-getlinknode.c index dd647bc9..148ed2b3 100644 --- a/libtrivfs/file-getlinknode.c +++ b/libtrivfs/file-getlinknode.c @@ -18,7 +18,7 @@ #include "priv.h" #include "fs_S.h" -error_t +kern_return_t trivfs_S_file_getlinknode (struct trivfs_protid *cred, mach_port_t *linknode, mach_msg_type_name_t *linknodetype) diff --git a/libtrivfs/file-lock.c b/libtrivfs/file-lock.c index ea3c5909..e63efa32 100644 --- a/libtrivfs/file-lock.c +++ b/libtrivfs/file-lock.c @@ -18,13 +18,13 @@ #include "priv.h" #include "fs_S.h" -error_t +kern_return_t trivfs_S_file_lock (struct trivfs_protid *cred, int flags) { return EOPNOTSUPP; } -error_t +kern_return_t trivfs_S_file_lock_stat (struct trivfs_protid *cred, int *mystatus, int *otherstat) { diff --git a/libtrivfs/file-utimes.c b/libtrivfs/file-utimes.c index 75e7e1d4..a1f5d17e 100644 --- a/libtrivfs/file-utimes.c +++ b/libtrivfs/file-utimes.c @@ -16,9 +16,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "priv.h" +#include "fs_S.h" -error_t -trivfs_S_file_utimes (struct protid *cred, time_value_t atime, +kern_return_t +trivfs_S_file_utimes (struct trivfs_protid *cred, time_value_t atime, time_value_t mtime) { return cred ? file_utimes (cred->realnode, atime, mtime) : EOPNOTSUPP; diff --git a/libtrivfs/io-pathconf.c b/libtrivfs/io-pathconf.c index a363c709..acd552e1 100644 --- a/libtrivfs/io-pathconf.c +++ b/libtrivfs/io-pathconf.c @@ -18,7 +18,7 @@ #include "priv.h" #include "fs_S.h" -error_t +kern_return_t trivfs_S_file_pathconf (struct trivfs_protid *cred, int name, int *val) { if (cred) |