diff options
author | 2021-03-19 13:41:38 -0600 | |
---|---|---|
committer | 2021-03-19 13:41:38 -0600 | |
commit | 895a85337e3975fa7996fc1b3f23fb115a3ae998 (patch) | |
tree | 4fbfc42be994944cf794077af786e26dadf3fc48 | |
parent | if_wg: do not check for null M_NOWAIT return (diff) | |
download | wireguard-freebsd-895a85337e3975fa7996fc1b3f23fb115a3ae998.tar.xz wireguard-freebsd-895a85337e3975fa7996fc1b3f23fb115a3ae998.zip |
compat: backport callout_func_t to 12.1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | src/compat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h index 4ed5733..66798f9 100644 --- a/src/compat.h +++ b/src/compat.h @@ -85,4 +85,6 @@ static inline uint32_t arc4random_uniform(uint32_t bound) return ret % bound; } + +typedef void callout_func_t(void *); #endif |