constify the last argument of m_copyback.
This commit is contained in:
parent
485b4cba56
commit
24665342d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128402
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user