engine: platform: make Platform_SetTimer static inline to not fix unused-function

This commit is contained in:
Alibek Omarov 2024-01-27 22:12:36 +03:00
parent 568a394a40
commit a7c422fde6
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ void Platform_SetClipboardText( const char *buffer );
#define SDL_VERSION_ATLEAST( x, y, z ) 0 #define SDL_VERSION_ATLEAST( x, y, z ) 0
#endif #endif
static void Platform_SetTimer( float time ) static inline void Platform_SetTimer( float time )
{ {
#if XASH_LINUX #if XASH_LINUX
Linux_SetTimer( time ); Linux_SetTimer( time );