[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 19/29] device/dev_pager.c: remove forward declarations
From: |
Marin Ramesa |
Subject: |
[PATCH 19/29] device/dev_pager.c: remove forward declarations |
Date: |
Mon, 9 Dec 2013 23:57:34 +0100 |
* device/dev_pager.c (device_pager_data_request_done,
device_pager_data_write_done): Remove forward declarations.
* device/dev_pager.h (device_pager_data_request_done,
device_pager_data_write_done): Add prototypes.
---
device/dev_pager.c | 4 ----
device/dev_pager.h | 4 ++++
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/device/dev_pager.c b/device/dev_pager.c
index 0c13376..9c748ea 100644
--- a/device/dev_pager.c
+++ b/device/dev_pager.c
@@ -317,10 +317,6 @@ void device_pager_release(memory_object_t object)
boolean_t device_pager_debug = FALSE;
-boolean_t device_pager_data_request_done(); /* forward */
-boolean_t device_pager_data_write_done(); /* forward */
-
-
kern_return_t device_pager_data_request(
ipc_port_t pager,
ipc_port_t pager_request,
diff --git a/device/dev_pager.h b/device/dev_pager.h
index 193edc4..7f97ee7 100644
--- a/device/dev_pager.h
+++ b/device/dev_pager.h
@@ -21,4 +21,8 @@
vm_offset_t device_map_page(void *dsp, vm_offset_t offset);
+boolean_t device_pager_data_request_done(io_req_t ior);
+
+boolean_t device_pager_data_write_done(io_req_t ior);
+
#endif /* _DEVICE_DEV_PAGER_H_ */
--
1.8.1.4
- [PATCH 10/29] device/cirbuf.c (cb_alloc): use vm_size_t instead of an int, (continued)
- [PATCH 10/29] device/cirbuf.c (cb_alloc): use vm_size_t instead of an int, Marin Ramesa, 2013/12/09
- [PATCH 11/29] device/cirbuf.c (cb_free): use vm_size_t instead of an int, Marin Ramesa, 2013/12/09
- [PATCH 12/29] device/cons.c: fix argument list, Marin Ramesa, 2013/12/09
- [PATCH 13/29] device/dev_pager.c (device_pager_data_request): remove forward declaration, Marin Ramesa, 2013/12/09
- [PATCH 14/29] device/dev_pager.c (device_pager_data_request): cast to (void *) instead to (char *), Marin Ramesa, 2013/12/09
- [PATCH 15/29] device/dev_pager.c (device_pager_data_request_done): check if io_count is larger or equal to zero and cast it to vm_size_t, Marin Ramesa, 2013/12/09
- [PATCH 16/29] device/dev_pager.c (device_pager_data_request_done): check if io_residual is larger or equal to zero and cast it to size_t, Marin Ramesa, 2013/12/09
- [PATCH 17/29] device/dev_pager.c (device_pager_data_request_done): remove unnecessary cast, Marin Ramesa, 2013/12/09
- [PATCH 18/29] device/dev_pager.c: remove forward declaration, Marin Ramesa, 2013/12/09
- [PATCH 19/29] device/dev_pager.c: remove forward declarations,
Marin Ramesa <=
- [PATCH 20/29] device/ds_routines.c: remove forward declaration, Marin Ramesa, 2013/12/09
- [PATCH 21/29] device/ds_routines.c (device_write_get): check if io_count is larger or equal to zero and cast it to size_t, Marin Ramesa, 2013/12/09
- [PATCH 22/29] device/kmsg.c (kmsgread): check if io_count is larger or equal to zero and cast it to vm_size_t, Marin Ramesa, 2013/12/09
- [PATCH 23/29] device/kmsg.c (kmsgread, kmsg_read_done): cast arguments to memcpy(), Marin Ramesa, 2013/12/09
- [PATCH 24/29] device/kmsg.c (kmsg_read_done): check if amt is negative, Marin Ramesa, 2013/12/09
- [PATCH 25/29] device/net_io.c: remove forward declarations, Marin Ramesa, 2013/12/09
- [PATCH 26/29] device/net_io.c (net_getstat): check if addr_byte_count is negative, Marin Ramesa, 2013/12/09