From 28d8e84d6bfefc23e6d3d7ac9e4cf920f9d3246d Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 28 Aug 2024 17:08:38 +0200 Subject: [PATCH] this can be static and inlined --- src/d_clisrv.c | 2 +- src/d_clisrv.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 10d46689a..1efd88623 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -223,7 +223,7 @@ UINT16 software_MAXPACKETLENGTH; * \return The full tic value * */ -tic_t ExpandTics(INT32 low, tic_t basetic) +static inline tic_t ExpandTics(INT32 low, tic_t basetic) { INT32 delta; diff --git a/src/d_clisrv.h b/src/d_clisrv.h index 13c2bc353..6ddeb09bb 100644 --- a/src/d_clisrv.h +++ b/src/d_clisrv.h @@ -574,7 +574,7 @@ extern consvar_t cv_connectawaittime; extern consvar_t cv_discordinvites; // Used in d_net, the only dependence -tic_t ExpandTics(INT32 low, tic_t basetic); +//tic_t ExpandTics(INT32 low, tic_t basetic); void D_ClientServerInit(void); // Initialise the other field