diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp index b636ce2fe..983186ade 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -153,8 +153,8 @@ Graphics *mainGraphics = nullptr; Sound sound; -uint32_t nextTick(uint32_t interval, void *param A_UNUSED); -uint32_t nextSecond(uint32_t interval, void *param A_UNUSED); +static uint32_t nextTick(uint32_t interval, void *param A_UNUSED); +static uint32_t nextSecond(uint32_t interval, void *param A_UNUSED); void ErrorListener::action(const gcn::ActionEvent &) { @@ -183,7 +183,7 @@ extern "C" char const *_nl_locale_name_default(void); * Called every 10 milliseconds by SDL_AddTimer() * @see MILLISECONDS_IN_A_TICK value */ -uint32_t nextTick(uint32_t interval, void *param A_UNUSED) +static uint32_t nextTick(uint32_t interval, void *param A_UNUSED) { tick_time++; if (tick_time == MAX_TICK_VALUE) @@ -195,7 +195,7 @@ uint32_t nextTick(uint32_t interval, void *param A_UNUSED) * Updates fps. * Called every seconds by SDL_AddTimer() */ -uint32_t nextSecond(uint32_t interval, void *param A_UNUSED) +static uint32_t nextSecond(uint32_t interval, void *param A_UNUSED) { fps = frame_count; lps = logic_count; |