summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs')
-rw-r--r--libtrivfs/io-map.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libtrivfs/io-map.c b/libtrivfs/io-map.c
index fd834370..7d54ee11 100644
--- a/libtrivfs/io-map.c
+++ b/libtrivfs/io-map.c
@@ -19,8 +19,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Written by Michael I. Bushnell. */
-error_t
-trivfs_S_io_map (struct protid *cred,
+#include "priv.h"
+#include "io_S.h"
+#include <assert.h>
+
+kern_return_t
+trivfs_S_io_map (struct trivfs_protid *cred,
mach_port_t *rdobj,
mach_msg_type_name_t *rdtype,
mach_port_t *wrobj,