From: Holger Schemel Date: Wed, 21 Feb 2024 18:24:47 +0000 (+0100) Subject: added missing function prototypes X-Git-Tag: 4.4.0.0-test-1~326 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=f24169789baa739b4efbbf2b9f1612e04083d92d;p=rocksndiamonds.git added missing function prototypes --- diff --git a/src/libgame/misc.c b/src/libgame/misc.c index 6101cbae..c84cefc0 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -620,12 +620,12 @@ static unsigned int mainCounter(int mode) return current_ms - base_ms; } -void InitCounter() // set counter back to zero +void InitCounter(void) // set counter back to zero { mainCounter(INIT_COUNTER); } -unsigned int Counter() // get milliseconds since last call of InitCounter() +unsigned int Counter(void) // get milliseconds since last call of InitCounter() { return mainCounter(READ_COUNTER); } diff --git a/src/libgame/system.c b/src/libgame/system.c index c1abb8a4..f824ac51 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -121,7 +121,7 @@ void InitNetworkInfo(boolean enabled, boolean connected, boolean serveronly, network.is_server_thread = FALSE; } -void InitRuntimeInfo() +void InitRuntimeInfo(void) { #if defined(HAS_TOUCH_DEVICE) runtime.uses_touch_device = TRUE; diff --git a/src/screens.c b/src/screens.c index e14114ee..2a3fe054 100644 --- a/src/screens.c +++ b/src/screens.c @@ -10289,7 +10289,7 @@ static void MapScreenGadgets(int num_entries) MapGadget(screen_gadget[scrollbar_info[i].gadget_id]); } -static void UnmapScreenGadgets() +static void UnmapScreenGadgets(void) { int i;