diff options
-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 * |