diff options
author | luigi <luigi@FreeBSD.org> | 2004-04-18 13:01:28 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2004-04-18 13:01:28 +0000 |
commit | 4d396f17cf3db6ea60c41f443ccc81d156ab7f8f (patch) | |
tree | 862bcd59102087ce60510c1435ee7febb20e7f3e | |
parent | c8ac6abb75931d2948900c202534a9719eca63ce (diff) | |
download | FreeBSD-src-4d396f17cf3db6ea60c41f443ccc81d156ab7f8f.zip FreeBSD-src-4d396f17cf3db6ea60c41f443ccc81d156ab7f8f.tar.gz |
constify the last argument of m_copyback.
-rw-r--r-- | sys/kern/uipc_mbuf.c | 2 | ||||
-rw-r--r-- | sys/sys/mbuf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index 8761ce5..5815fae 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -710,7 +710,7 @@ m_devget(char *buf, int totlen, int off, struct ifnet *ifp, * chain if necessary. */ void -m_copyback(struct mbuf *m0, int off, int len, caddr_t cp) +m_copyback(struct mbuf *m0, int off, int len, c_caddr_t cp) { int mlen; struct mbuf *m = m0, *n; diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index 0d6f5cf..e75727e 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -443,7 +443,7 @@ void m_chtype(struct mbuf *, short); void m_clget(struct mbuf *, int); void m_extadd(struct mbuf *, caddr_t, u_int, void (*)(void *, void *), void *, int, int); -void m_copyback(struct mbuf *, int, int, caddr_t); +void m_copyback(struct mbuf *, int, int, c_caddr_t); void m_copydata(const struct mbuf *, int, int, caddr_t); struct mbuf *m_copym(struct mbuf *, int, int, int); struct mbuf *m_copypacket(struct mbuf *, int); |