summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_mbuf.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-14 08:32:45 +0000
committerphk <phk@FreeBSD.org>1995-12-14 08:32:45 +0000
commit63ec2c0ae9b44c5394bae5d6ee7fea5be9659585 (patch)
tree17b584943b186d479fdf3906ec2bef1ea2ca47bf /sys/kern/uipc_mbuf.c
parent30e263dcabc35e19f5e060d92f09d212e9b56668 (diff)
downloadFreeBSD-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/uipc_mbuf.c')
-rw-r--r--sys/kern/uipc_mbuf.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 027ad19..cb79083 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uipc_mbuf.c 8.2 (Berkeley) 1/4/94
- * $Id: uipc_mbuf.c,v 1.15 1995/12/02 18:58:42 bde Exp $
+ * $Id: uipc_mbuf.c,v 1.16 1995/12/07 12:46:59 davidg Exp $
*/
#include <sys/param.h>
@@ -62,6 +62,8 @@ int max_protohdr;
int max_hdr;
int max_datalen;
+static void m_reclaim __P((void));
+
/* ARGSUSED*/
static void
mbinit(dummy)
@@ -168,7 +170,7 @@ m_retryhdr(i, t)
return (m);
}
-void
+static void
m_reclaim()
{
register struct domain *dp;
@@ -283,7 +285,7 @@ m_prepend(m, len, how)
* continuing for "len" bytes. If len is M_COPYALL, copy to end of mbuf.
* The wait parameter is a choice of M_WAIT/M_DONTWAIT from caller.
*/
-int MCFail;
+static int MCFail;
struct mbuf *
m_copym(m, off0, len, wait)
@@ -495,7 +497,7 @@ m_adj(mp, req_len)
* If there is room, it will add up to max_protohdr-len extra bytes to the
* contiguous region in an attempt to avoid being called next time.
*/
-int MPFail;
+static int MPFail;
struct mbuf *
m_pullup(n, len)
OpenPOWER on IntegriCloud