[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 36/68] kern/ipc_mig.c: remove forward declarations
From: |
Marin Ramesa |
Subject: |
[PATCH 36/68] kern/ipc_mig.c: remove forward declarations |
Date: |
Fri, 29 Nov 2013 22:54:01 +0100 |
* 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.
---
device/ds_routines.h | 13 +++++++++++++
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..588317d 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,
--
1.8.1.4
- [PATCH 27/68] i386/i386at/kd_mouse.c: remove forward declarations, (continued)
- [PATCH 27/68] i386/i386at/kd_mouse.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 28/68] i386/i386at: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 29/68] i386/i386at/pic_isa.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 30/68] i386/intel/pmap.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 32/68] ipc/ipc_table.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 31/68] ipc/ipc_kmsg.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 33/68] ipc/mach_msg.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 34/68] kern/bootstrap.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 35/68] kern/debug.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 36/68] kern/ipc_mig.c: remove forward declarations,
Marin Ramesa <=
- [PATCH 37/68] kern/processor.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 39/68] kern/startup.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 38/68] kern/sched_prim.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 40/68] kern/syscall_subr.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 41/68] kern/syscall_sw.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 42/68] kern/task.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 43/68] kern/thread.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 44/68] kern: remove forward declaration, Marin Ramesa, 2013/11/29