summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2004-02-08 03:19:08 +0000
committersilby <silby@FreeBSD.org>2004-02-08 03:19:08 +0000
commit00fa84a3dba78cb35bbb4f9bed72fcf08995e5dc (patch)
treeb3082cc4b35634742636cf344b2cd6e23a32d7d7
parent2758e4d126207d1be7d77ec4a95d84cc6605abd2 (diff)
downloadFreeBSD-src-00fa84a3dba78cb35bbb4f9bed72fcf08995e5dc.zip
FreeBSD-src-00fa84a3dba78cb35bbb4f9bed72fcf08995e5dc.tar.gz
Move m_uiotombuf from uio.h to mbuf.h, where I should have put it in
the first place. Suggested by: bde
-rw-r--r--sys/sys/mbuf.h4
-rw-r--r--sys/sys/uio.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index c88e647..6ce9922 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -437,6 +437,8 @@ extern int nmbclusters; /* Maximum number of clusters */
extern int nmbcnt; /* Scale kmem_map for counter space */
extern int nmbufs; /* Maximum number of mbufs */
+struct uio;
+
void _mext_free(struct mbuf *);
void m_adj(struct mbuf *, int);
int m_apply(struct mbuf *, int, int,
@@ -474,6 +476,8 @@ void m_print(const struct mbuf *);
struct mbuf *m_pulldown(struct mbuf *, int, int, int *);
struct mbuf *m_pullup(struct mbuf *, int);
struct mbuf *m_split(struct mbuf *, int, int);
+struct mbuf *
+ m_uiotombuf(struct uio *uio, int how, int len);
/*
* Packets may have annotations attached by affixing a list
diff --git a/sys/sys/uio.h b/sys/sys/uio.h
index d955529..288903d 100644
--- a/sys/sys/uio.h
+++ b/sys/sys/uio.h
@@ -95,8 +95,6 @@ int uiomove(void *cp, int n, struct uio *uio);
int uiomove_frombuf(void *buf, int buflen, struct uio *uio);
int uiomoveco(void *cp, int n, struct uio *uio, struct vm_object *obj,
int disposable);
-struct mbuf *
- m_uiotombuf(struct uio *uio, int how, int len);
#else /* !_KERNEL */
OpenPOWER on IntegriCloud