diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-29 22:54:01 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-05 06:36:46 +0900 |
commit | c1429f486d0c8af477fd01e76e08090e91ffc9bc (patch) | |
tree | 63f37169b4dd2a8b1243317cd2585b3df8b6ee65 | |
parent | 016dba1c5e3aa0bfa24595978b296768844193bb (diff) |
kern/ipc_mig.c: remove forward declarations
* device/ds_routines.h (ds_device_write_trap, ds_device_writev_trap): Add prototypes.
* kern/ipc_mig.c (ds_device_write_trap, ds_device_writev_trap): Remove forward declarations.
-rw-r--r-- | device/ds_routines.h | 13 | ||||
-rw-r--r-- | kern/ipc_mig.c | 4 |
2 files changed, 13 insertions, 4 deletions
diff --git a/device/ds_routines.h b/device/ds_routines.h index 6d5b61c..fad89ac 100644 --- a/device/ds_routines.h +++ b/device/ds_routines.h @@ -70,5 +70,18 @@ extern void dev_lookup_init(void); extern void device_pager_init(void); extern void io_done_thread(void); +io_return_t ds_device_write_trap( + device_t dev, + dev_mode_t mode, + recnum_t recnum, + vm_offset_t data, + vm_size_t count); + +io_return_t ds_device_writev_trap( + device_t dev, + dev_mode_t mode, + recnum_t recnum, + io_buf_vec_t *iovec, + vm_size_t count); #endif /* DS_ROUTINES_H */ diff --git a/kern/ipc_mig.c b/kern/ipc_mig.c index 3d48cb4..20339a2 100644 --- a/kern/ipc_mig.c +++ b/kern/ipc_mig.c @@ -915,10 +915,6 @@ kern_return_t syscall_thread_depress_abort(thread) /* * Device traps -- these are way experimental. */ - -extern io_return_t ds_device_write_trap(); -extern io_return_t ds_device_writev_trap(); - io_return_t syscall_device_write_request(mach_port_t device_name, mach_port_t reply_name, |