bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 31/68] ipc/ipc_kmsg.c: remove forward declarations


From: Marin Ramesa
Subject: [PATCH 31/68] ipc/ipc_kmsg.c: remove forward declarations
Date: Fri, 29 Nov 2013 22:53:56 +0100

* ipc/ipc_kmsg.c (copyinmap, copyoutmap, ipc_msg_print): Remove forward 
declarations.
* ipc/ipc_kmsg.h (ipc_msg_print): Add prototype.

---
 ipc/ipc_kmsg.c | 4 ----
 ipc/ipc_kmsg.h | 2 ++
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/ipc/ipc_kmsg.c b/ipc/ipc_kmsg.c
index 3bdd6b0..0e43410 100644
--- a/ipc/ipc_kmsg.c
+++ b/ipc/ipc_kmsg.c
@@ -69,10 +69,6 @@
 #include <ipc/ipc_print.h>
 #endif
 
-extern int copyinmap();
-extern int copyoutmap();
-void ipc_msg_print(); /* forward */
-
 #define is_misaligned(x)       ( ((vm_offset_t)(x)) & (sizeof(vm_offset_t)-1) )
 #define ptr_align(x)   \
        ( ( ((vm_offset_t)(x)) + (sizeof(vm_offset_t)-1) ) & 
~(sizeof(vm_offset_t)-1) )
diff --git a/ipc/ipc_kmsg.h b/ipc/ipc_kmsg.h
index 8867310..fdc7d2d 100644
--- a/ipc/ipc_kmsg.h
+++ b/ipc/ipc_kmsg.h
@@ -268,4 +268,6 @@ ipc_kmsg_copyout_pseudo(ipc_kmsg_t, ipc_space_t, vm_map_t);
 extern void
 ipc_kmsg_copyout_dest(ipc_kmsg_t, ipc_space_t);
 
+void ipc_msg_print(mach_msg_header_t *msgh);
+
 #endif /* _IPC_IPC_KMSG_H_ */
-- 
1.8.1.4




reply via email to

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