From 11be9588f43dcd7558b2ce7aa75bad03a3d10f24 Mon Sep 17 00:00:00 2001 From: Chu'vok Date: Wed, 18 Sep 2024 12:36:14 +0200 Subject: [PATCH] fix -Wold-style-declaration --- tim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tim.h b/tim.h index 7dccc8c..357e5db 100644 --- a/tim.h +++ b/tim.h @@ -891,7 +891,7 @@ static inline bool is_event_key(int type, int32_t key) { } // returns true if event was press of key -static bool inline is_key_press(int32_t key) { +static inline bool is_key_press(int32_t key) { return is_event_key(KEY_EVENT, key); }