From a7c422fde636ad8825131c608a09f365fcd13e6d Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 27 Jan 2024 22:12:36 +0300 Subject: [PATCH] engine: platform: make Platform_SetTimer static inline to not fix unused-function --- engine/platform/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/platform/platform.h b/engine/platform/platform.h index a69daab3..ed4ccb29 100644 --- a/engine/platform/platform.h +++ b/engine/platform/platform.h @@ -183,7 +183,7 @@ void Platform_SetClipboardText( const char *buffer ); #define SDL_VERSION_ATLEAST( x, y, z ) 0 #endif -static void Platform_SetTimer( float time ) +static inline void Platform_SetTimer( float time ) { #if XASH_LINUX Linux_SetTimer( time );