summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2019-01-10 14:49:07 +0000
committerkrw <krw@openbsd.org>2019-01-10 14:49:07 +0000
commit51b3c07ddcfe773072026046929a43e7653440ba (patch)
treebdf1dc2792a9c5bee41ced0b0964569018409503 /lib/libc/stdlib/malloc.c
parentRevert back previous commit and stop including strings.h (diff)
downloadwireguard-openbsd-51b3c07ddcfe773072026046929a43e7653440ba.tar.xz
wireguard-openbsd-51b3c07ddcfe773072026046929a43e7653440ba.zip
"AF_* values are *almost* always the correct choice, particularly with
POSIX APIs". Also sprach guenther@. So switch PF_ROUTE to AF_ROUTE in socket() and setsockopt() calls. Keep PF_ROUTE in sysctl(2) uses. adding a comment for future visitors, Also replace PF_UNSPEC with 0 in socketpair(), as socketpair(2) points out this is the only sensible value. Cluebat from and ok guenther@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions