diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-05-04 15:46:03 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-05-04 15:46:03 +0200 |
commit | 35e24f4f3e95146f424b42db7269662582356551 (patch) | |
tree | 4127e6e9e18b69431a74118280a885a6382deb6b | |
parent | d5cb24f7acb40870d81fec28fac870536917ef5e (diff) |
Reformatted game_update_times()
-rw-r--r-- | FICS/gamedb.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c index e85f07a..058ed95 100644 --- a/FICS/gamedb.c +++ b/FICS/gamedb.c @@ -326,17 +326,16 @@ PUBLIC void game_update_time(int g) garray[g].lastDecTime = now; } -PUBLIC void game_update_times() +PUBLIC void +game_update_times(void) { - int g; - - for (g = 0; g < g_num; g++) { - if (garray[g].status != GAME_ACTIVE) - continue; - if (garray[g].clockStopped) - continue; - game_update_time(g); - } + for (int g = 0; g < g_num; g++) { + if (garray[g].status != GAME_ACTIVE) + continue; + if (garray[g].clockStopped) + continue; + game_update_time(g); + } } PUBLIC char * |