diff options
author | 2013-03-28 15:05:32 +0000 | |
---|---|---|
committer | 2013-03-28 15:05:32 +0000 | |
commit | e2a08a5cfbc65f54e74a6d16979ee82187b59fb0 (patch) | |
tree | 6de894f817e74df4cb1c3d3b2839a8f96341c635 /sys/kern/subr_hibernate.c | |
parent | Replace some casts to struct in_ifaddr pointer by ifatoia() or NULL. (diff) | |
download | wireguard-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