summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2013-03-28 15:05:32 +0000
committerbluhm <bluhm@openbsd.org>2013-03-28 15:05:32 +0000
commite2a08a5cfbc65f54e74a6d16979ee82187b59fb0 (patch)
tree6de894f817e74df4cb1c3d3b2839a8f96341c635 /sys/kern/subr_hibernate.c
parentReplace some casts to struct in_ifaddr pointer by ifatoia() or NULL. (diff)
downloadwireguard-openbsd-e2a08a5cfbc65f54e74a6d16979ee82187b59fb0.tar.xz
wireguard-openbsd-e2a08a5cfbc65f54e74a6d16979ee82187b59fb0.zip
Convert the satosin, sintosa, ifatoia, satosin6, sin6tosa, ifatoia6
defines into static inline functions. This allows the compiler to check the source type before casting. liked by many; OK mpi@ haesbaert@
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions