diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-15 02:20:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-15 02:20:52 +0300 |
commit | 18b8d9888cd5ee8a533a1059f109d8de1c6b04d1 (patch) | |
tree | db753995392ae8e6c5202467f417f31deb8717f0 /src/client.cpp | |
parent | c3b8f951d6e16dfb48cb71bd7ad3d7c43ea56c0a (diff) | |
download | manaverse-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.gz manaverse-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.bz2 manaverse-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.tar.xz manaverse-18b8d9888cd5ee8a533a1059f109d8de1c6b04d1.zip |
Fix code style again.
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; |