[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
- [PATCH 22/68] kern/exception.c: remove forward declarations, (continued)
- [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, 2013/11/29
- [PATCH 31/68] ipc/ipc_kmsg.c: remove forward declarations,
Marin Ramesa <=
- [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