constify the last argument of m_copyback.

This commit is contained in:
Luigi Rizzo 2004-04-18 13:01:28 +00:00
parent 485b4cba56
commit 24665342d3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128402
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);