Constify m_copydata.
this allows constants to be copied without giving errors. (removes a couple of warning messages in the kernel.) Note: uipc_mbuf.c is a forced commit as it was accidentally included in another commit. MFC after: 2 weeks
This commit is contained in:
parent
a8cfc0ee40
commit
aad8d98833
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81908
@ -434,7 +434,7 @@ void m_clget(struct mbuf *, int);
|
||||
void m_extadd(struct mbuf *, caddr_t, u_int,
|
||||
void (*free)(caddr_t, void *), void *, short, int);
|
||||
void m_copyback(struct mbuf *, int, int, caddr_t);
|
||||
void m_copydata(struct mbuf *, int, int, 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);
|
||||
struct mbuf *m_devget(char *, int, int, struct ifnet *,
|
||||
|
Loading…
Reference in New Issue
Block a user