From 6f1fcd3e1035c7dbeb50eb4124ab63e423dfbf51 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 ace1b5b94..3646ff035 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -238,7 +238,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 37a828788..b5ad26eea 100644 --- a/src/d_clisrv.h +++ b/src/d_clisrv.h @@ -589,7 +589,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