From 4878b75e6ce061a5ce31b877b13e15968661406a Mon Sep 17 00:00:00 2001 From: Bosko Milekic Date: Sat, 22 Dec 2001 20:09:08 +0000 Subject: [PATCH] Move prototype of _mext_free to mbuf.h, where it belongs, because it is used in MEXTFREE and needs to be in scope for external MEXTFREE users. Pointed out by: Chad David Confirmed by: bde --- sys/kern/subr_mbuf.c | 1 - sys/sys/mbuf.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/subr_mbuf.c b/sys/kern/subr_mbuf.c index 7c4ab83d0f66..963049a03dcd 100644 --- a/sys/kern/subr_mbuf.c +++ b/sys/kern/subr_mbuf.c @@ -933,7 +933,6 @@ mb_reclaim(void) * Local mbuf & cluster alloc macros and routines. * Local macro and function names begin with an underscore ("_"). */ -void _mext_free(struct mbuf *); void _mclfree(struct mbuf *); #define _m_get(m, how, type) do { \ diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index e563f05d3f95..e9a8368370a1 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -427,6 +427,7 @@ extern int nmbcnt; /* Scale kmem_map for counter space */ extern int nmbufs; /* Maximum number of mbufs */ extern int nsfbufs; /* Number of sendfile(2) bufs */ +void _mext_free(struct mbuf *); void m_adj(struct mbuf *, int); struct mbuf *m_aux_add(struct mbuf *, int, int); struct mbuf *m_aux_add2(struct mbuf *, int, int, void *);