summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:28 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 07:07:10 +0900
commite04c5b38f743c1c76b7511aad04382c3a4a870da (patch)
tree3e9b1c5f0f70507f1abb33961709eb0bc9b1ff91
parent922f4c2f0501a34f3914bfb9c7ca605031d99682 (diff)
ipc/ipc_entry.c: remove forward declaration
* ipc/ipc_entry.c (db_ipc_object_by_name): Remove forward declaration. * ipc/ipc_entry.h (db_ipc_object_by_name): Add prototype.
-rw-r--r--ipc/ipc_entry.c5
-rw-r--r--ipc/ipc_entry.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/ipc/ipc_entry.c b/ipc/ipc_entry.c
index 3a06244..6cb1cfb 100644
--- a/ipc/ipc_entry.c
+++ b/ipc/ipc_entry.c
@@ -839,11 +839,6 @@ ipc_entry_grow_table(space)
#define printf kdbprintf
-ipc_entry_t db_ipc_object_by_name(
- task_t task,
- mach_port_t name);
-
-
ipc_entry_t
db_ipc_object_by_name(
task_t task,
diff --git a/ipc/ipc_entry.h b/ipc/ipc_entry.h
index 6afa4f6..cb6d3f9 100644
--- a/ipc/ipc_entry.h
+++ b/ipc/ipc_entry.h
@@ -153,4 +153,9 @@ ipc_entry_dealloc(ipc_space_t space, mach_port_t name, ipc_entry_t entry);
extern kern_return_t
ipc_entry_grow_table(ipc_space_t space);
+ipc_entry_t
+db_ipc_object_by_name(
+ task_t task,
+ mach_port_t name);
+
#endif /* _IPC_IPC_ENTRY_H_ */