aboutsummaryrefslogtreecommitdiff
path: root/libtrivfs/io-owner-mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs/io-owner-mod.c')
-rw-r--r--libtrivfs/io-owner-mod.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libtrivfs/io-owner-mod.c b/libtrivfs/io-owner-mod.c
index 36fb57e1..1c5463fe 100644
--- a/libtrivfs/io-owner-mod.c
+++ b/libtrivfs/io-owner-mod.c
@@ -20,9 +20,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Written by Michael I. Bushnell. */
#include "priv.h"
+#include "io_S.h"
+#include <assert.h>
-error_t
-trivfs_S_io_mod_owner (struct protid *cred,
+kern_return_t
+trivfs_S_io_mod_owner (struct trivfs_protid *cred,
pid_t owner)
{
assert (!trivfs_support_read && !trivfs_support_write);