[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 32/68] ipc/ipc_table.c: remove forward declaration
From: |
Marin Ramesa |
Subject: |
[PATCH 32/68] ipc/ipc_table.c: remove forward declaration |
Date: |
Fri, 29 Nov 2013 22:53:57 +0100 |
* ipc/ipc_table.c (ipc_table_fill): Remove forward declaration.
* ipc/ipc_table.h (ipc_table_fill): Add prototype.
---
ipc/ipc_table.c | 9 ---------
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)))
--
1.8.1.4
- [PATCH 20/68] i386/i386/pcb.c: remove forward declarations, (continued)
- [PATCH 20/68] i386/i386/pcb.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 22/68] kern/exception.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 23/68] i386/i386at/autoconf.c, com.c, lpr.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 25/68] i386/i386at/kd.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 24/68] i386/i386at/conf.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 26/68] i386/i386at/kd_event.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 27/68] i386/i386at/kd_mouse.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 28/68] i386/i386at: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 29/68] i386/i386at/pic_isa.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 30/68] i386/intel/pmap.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 32/68] ipc/ipc_table.c: remove forward declaration,
Marin Ramesa <=
- [PATCH 31/68] ipc/ipc_kmsg.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 33/68] ipc/mach_msg.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 34/68] kern/bootstrap.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 35/68] kern/debug.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 36/68] kern/ipc_mig.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 37/68] kern/processor.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 39/68] kern/startup.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 38/68] kern/sched_prim.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 40/68] kern/syscall_subr.c: remove forward declaration, Marin Ramesa, 2013/11/29