diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-29 22:53:57 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-05 06:31:58 +0900 |
commit | 43d00cc7405ebda7eaf18b888bbe1db288ca379a (patch) | |
tree | e11c055dbce68fadffc0a4a6271da608fd5e2d59 | |
parent | 4448c2cd5acd431722508d8b020c0f7b6163fae0 (diff) |
ipc/ipc_table.c: remove forward declaration
* ipc/ipc_table.c (ipc_table_fill): Remove forward declaration.
* ipc/ipc_table.h (ipc_table_fill): Add prototype.
-rw-r--r-- | ipc/ipc_table.c | 9 | ||||
-rw-r--r-- | ipc/ipc_table.h | 6 |
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))) |