bug-hurd
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]