summaryrefslogtreecommitdiff
path: root/libmachdev/device_emul.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmachdev/device_emul.h')
-rw-r--r--libmachdev/device_emul.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmachdev/device_emul.h b/libmachdev/device_emul.h
index a5bc4f77..e27799cb 100644
--- a/libmachdev/device_emul.h
+++ b/libmachdev/device_emul.h
@@ -36,7 +36,8 @@ struct device_emulation_ops
void (*dealloc) (void *);
mach_port_t (*dev_to_port) (void *);
io_return_t (*open) (mach_port_t, mach_msg_type_name_t,
- dev_mode_t, char *, device_t *);
+ dev_mode_t, char *, device_t *,
+ mach_msg_type_name_t *type);
io_return_t (*close) (void *);
io_return_t (*write) (void *, mach_port_t, mach_msg_type_name_t,
dev_mode_t, recnum_t, io_buf_ptr_t, unsigned, int *);