diff options
author | phk <phk@FreeBSD.org> | 1995-12-14 08:32:45 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-14 08:32:45 +0000 |
commit | 63ec2c0ae9b44c5394bae5d6ee7fea5be9659585 (patch) | |
tree | 17b584943b186d479fdf3906ec2bef1ea2ca47bf /sys/kern/sysv_msg.c | |
parent | 30e263dcabc35e19f5e060d92f09d212e9b56668 (diff) | |
download | FreeBSD-src-63ec2c0ae9b44c5394bae5d6ee7fea5be9659585.zip FreeBSD-src-63ec2c0ae9b44c5394bae5d6ee7fea5be9659585.tar.gz |
A Major staticize sweep. Generates a couple of warnings that I'll deal
with later.
A number of unused vars removed.
A number of unused procs removed or #ifdefed.
Diffstat (limited to 'sys/kern/sysv_msg.c')
-rw-r--r-- | sys/kern/sysv_msg.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/sysv_msg.c b/sys/kern/sysv_msg.c index 2fec3d9..ef4a0ac 100644 --- a/sys/kern/sysv_msg.c +++ b/sys/kern/sysv_msg.c @@ -1,4 +1,4 @@ -/* $Id: sysv_msg.c,v 1.8 1995/09/09 18:10:06 davidg Exp $ */ +/* $Id: sysv_msg.c,v 1.9 1995/10/21 19:49:57 bde Exp $ */ /* * Implementation of SVID messages @@ -44,14 +44,14 @@ static int msgrcv __P((struct proc *p, struct msgrcv_args *uap, int *retval)); static void msg_freehdr __P((struct msg *msghdr)); /* XXX casting to (sy_call_t *) is bogus, as usual. */ -sy_call_t *msgcalls[] = { +static sy_call_t *msgcalls[] = { (sy_call_t *)msgctl, (sy_call_t *)msgget, (sy_call_t *)msgsnd, (sy_call_t *)msgrcv }; -int nfree_msgmaps; /* # of free map entries */ -short free_msgmaps; /* head of linked list of free map entries */ -struct msg *free_msghdrs; /* list of free msg headers */ +static int nfree_msgmaps; /* # of free map entries */ +static short free_msgmaps; /* head of linked list of free map entries */ +static struct msg *free_msghdrs; /* list of free msg headers */ char *msgpool; /* MSGMAX byte long msg buffer pool */ struct msgmap *msgmaps; /* MSGSEG msgmap structures */ struct msg *msghdrs; /* MSGTQL msg headers */ |