summaryrefslogtreecommitdiffstats
path: root/sys/kern/sysv_msg.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-08-30 00:33:02 +0000
committerbde <bde@FreeBSD.org>1995-08-30 00:33:02 +0000
commit025e99bcd14fb33fb7a8d72bd6789a053eb511d5 (patch)
treef355716c9b0abf4e3242ebfa58767b4614f675f1 /sys/kern/sysv_msg.c
parent26e9d1768ef60bb85ca1ba60598ca778be2ea18b (diff)
downloadFreeBSD-src-025e99bcd14fb33fb7a8d72bd6789a053eb511d5.zip
FreeBSD-src-025e99bcd14fb33fb7a8d72bd6789a053eb511d5.tar.gz
Fix several sysinit functions that had the wrong type and unnecessarily
external linkage. Remove useless comments saying that SYSINIT() does system initialization. shm.c: Remove nearly useless comment that gave wrong pseudo-prototypes.
Diffstat (limited to 'sys/kern/sysv_msg.c')
-rw-r--r--sys/kern/sysv_msg.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/kern/sysv_msg.c b/sys/kern/sysv_msg.c
index 3eaa6b5..8f66ebe 100644
--- a/sys/kern/sysv_msg.c
+++ b/sys/kern/sysv_msg.c
@@ -1,4 +1,4 @@
-/* $Id: sysv_msg.c,v 1.5 1995/07/29 11:40:13 bde Exp $ */
+/* $Id: sysv_msg.c,v 1.6 1995/08/28 09:18:46 julian Exp $ */
/*
* Implementation of SVID messages
@@ -26,11 +26,7 @@
#include <sys/msg.h>
#include <sys/malloc.h>
-/*
- * System initialization
- */
-
-extern void msginit(); /* should be static*/
+static void msginit __P((caddr_t));
SYSINIT(sysv_msg, SI_SUB_SYSV_MSG, SI_ORDER_FIRST, msginit, NULL)
#define MSG_DEBUG
@@ -49,7 +45,8 @@ struct msg *msghdrs; /* MSGTQL msg headers */
struct msqid_ds *msqids; /* MSGMNI msqid_ds struct's */
void
-msginit()
+msginit(udata)
+ caddr_t udata;
{
register int i;
OpenPOWER on IntegriCloud