summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-09 23:57:34 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-10 00:50:08 +0100
commitf66e92d3627d28ec7f62ec9b6a57f36373b7209c (patch)
treed084edfd2c7c030dc9f01edc9cf4bbd5d7fc71f8
parentb060efcc7a81bcfc2fabcb242ab8f6312c3aa78f (diff)
device/dev_pager.c: remove forward declarations
* 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.
-rw-r--r--device/dev_pager.c4
-rw-r--r--device/dev_pager.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/device/dev_pager.c b/device/dev_pager.c
index 7bb7bd9..97e417e 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_ */