diff options
author | glebius <glebius@FreeBSD.org> | 2004-10-11 18:40:19 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2004-10-11 18:40:19 +0000 |
commit | e84a71d3309b85356f20c9f58cd7c7193758f3e0 (patch) | |
tree | a9c9d24436e50842433b707f56ee526d8e397450 /sys/kern/uipc_mbuf2.c | |
parent | 51987254305aab9b726118e2a058c238b9c6dd49 (diff) | |
download | FreeBSD-src-e84a71d3309b85356f20c9f58cd7c7193758f3e0.zip FreeBSD-src-e84a71d3309b85356f20c9f58cd7c7193758f3e0.tar.gz |
Rename _m_tag_free() to m_tag_free_default() and make it non-static.
Approved by: sam
Diffstat (limited to 'sys/kern/uipc_mbuf2.c')
-rw-r--r-- | sys/kern/uipc_mbuf2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/uipc_mbuf2.c b/sys/kern/uipc_mbuf2.c index ceb0881..4929af5 100644 --- a/sys/kern/uipc_mbuf2.c +++ b/sys/kern/uipc_mbuf2.c @@ -302,8 +302,8 @@ m_dup1(struct mbuf *m, int off, int len, int wait) } /* Free a packet tag. */ -static void -_m_tag_free(struct m_tag *t) +void +m_tag_free_default(struct m_tag *t) { #ifdef MAC if (t->m_tag_id == PACKET_TAG_MACLABEL) @@ -325,7 +325,7 @@ m_tag_alloc(u_int32_t cookie, int type, int len, int wait) if (t == NULL) return NULL; m_tag_setup(t, cookie, type, len); - t->m_tag_free = _m_tag_free; + t->m_tag_free = m_tag_free_default; return t; } |