state: inline input_is_pkt().

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2016-01-22 06:41:46 +10:30
parent 15c5fca876
commit bbd9d4aa01

View File

@ -117,7 +117,7 @@ static inline bool state_is_error(enum state s)
struct peer; 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; return input <= PKT_ERROR;
} }