diff --git a/state.h b/state.h index 9c8adef6b..bf57ce59f 100644 --- a/state.h +++ b/state.h @@ -117,7 +117,7 @@ static inline bool state_is_error(enum state s) struct peer; -static bool input_is_pkt(enum state_input input) +static inline bool input_is_pkt(enum state_input input) { return input <= PKT_ERROR; }