diff options
author | 2021-02-25 02:48:19 +0000 | |
---|---|---|
committer | 2021-02-25 02:48:19 +0000 | |
commit | 5c7fed39bd376c774afa6b5ea3c41fd50de48416 (patch) | |
tree | 545f293afa31dc5fd22bd212fb767e1a9dfdb082 /share/man/man5/python-module.5 | |
parent | let m_copydata use a void * instead of caddr_t (diff) | |
download | wireguard-openbsd-5c7fed39bd376c774afa6b5ea3c41fd50de48416.tar.xz wireguard-openbsd-5c7fed39bd376c774afa6b5ea3c41fd50de48416.zip |
we don't have to cast to caddr_t when calling m_copydata anymore.
the first cut of this diff was made with coccinelle using this spatch:
@rule@
type caddr_t;
expression m, off, len, cp;
@@
-m_copydata(m, off, len, (caddr_t)cp)
+m_copydata(m, off, len, cp)
i had fix it's opinionated idea of formatting by hand though, so
i'm not sure it was worth it.
ok deraadt@ bluhm@
Diffstat (limited to 'share/man/man5/python-module.5')
0 files changed, 0 insertions, 0 deletions