summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_table.c9
-rw-r--r--ipc/ipc_table.h6
2 files changed, 6 insertions, 9 deletions
diff --git a/ipc/ipc_table.c b/ipc/ipc_table.c
index 78a82f2..90960a8 100644
--- a/ipc/ipc_table.c
+++ b/ipc/ipc_table.c
@@ -42,15 +42,6 @@
#include <kern/slab.h>
#include <vm/vm_kern.h>
-/*
- * Forward declarations
- */
-void ipc_table_fill(
- ipc_table_size_t its,
- unsigned int num,
- unsigned int min,
- vm_size_t elemsize);
-
ipc_table_size_t ipc_table_entries;
const unsigned int ipc_table_entries_size = 512;
diff --git a/ipc/ipc_table.h b/ipc/ipc_table.h
index 695adae..3cc5f56 100644
--- a/ipc/ipc_table.h
+++ b/ipc/ipc_table.h
@@ -108,6 +108,12 @@ extern void ipc_table_free(
vm_size_t size,
vm_offset_t table);
+void ipc_table_fill(
+ ipc_table_size_t its,
+ unsigned int num,
+ unsigned int min,
+ vm_size_t elemsize);
+
#define it_entries_alloc(its) \
((ipc_entry_t) \
ipc_table_alloc((its)->its_size * sizeof(struct ipc_entry)))