summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:29 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 07:09:11 +0900
commit1f59548942a9c029154703374e9a65c289cc6783 (patch)
tree0648de0c6ff543386fa0fc7e21a6f008ee24fe41
parente04c5b38f743c1c76b7511aad04382c3a4a870da (diff)
ipc/mach_port.c: remove forward declaration
* ipc/mach_port.c (mach_port_get_receive_status): Remove forward declaration. * ipc/mach_port.h (mach_port_get_receive_status): Add prototype.
-rw-r--r--ipc/mach_port.c2
-rw-r--r--ipc/mach_port.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/ipc/mach_port.c b/ipc/mach_port.c
index 46cb4de..f0f00d2 100644
--- a/ipc/mach_port.c
+++ b/ipc/mach_port.c
@@ -759,8 +759,6 @@ mach_port_mod_refs(
*/
kern_return_t
-mach_port_get_receive_status(ipc_space_t, mach_port_t, mach_port_status_t *);
-kern_return_t
old_mach_port_get_receive_status(space, name, statusp)
ipc_space_t space;
mach_port_t name;
diff --git a/ipc/mach_port.h b/ipc/mach_port.h
index 4116989..c4d9a1c 100644
--- a/ipc/mach_port.h
+++ b/ipc/mach_port.h
@@ -59,4 +59,10 @@ mach_port_insert_right(
ipc_port_t poly,
mach_msg_type_name_t polyPoly);
+kern_return_t
+mach_port_get_receive_status(
+ ipc_space_t space,
+ mach_port_t name,
+ mach_port_status_t *statusp);
+
#endif /* _IPC_MACH_PORT_H_ */