From 895a85337e3975fa7996fc1b3f23fb115a3ae998 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 19 Mar 2021 13:41:38 -0600 Subject: compat: backport callout_func_t to 12.1 Signed-off-by: Jason A. Donenfeld --- src/compat.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-59-g8ed1b