summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libtrivfs/io-owner-get.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libtrivfs/io-owner-get.c b/libtrivfs/io-owner-get.c
index 44a78826..115c8074 100644
--- a/libtrivfs/io-owner-get.c
+++ b/libtrivfs/io-owner-get.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_get_owner (struct protid *cred,
+kern_return_t
+trivfs_S_io_get_owner (struct trivfs_protid *cred,
pid_t *owner)
{
assert (!trivfs_support_read && !trivfs_support_write);