From 35e24f4f3e95146f424b42db7269662582356551 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 4 May 2024 15:46:03 +0200 Subject: Reformatted game_update_times() --- FICS/gamedb.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'FICS/gamedb.c') 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 * -- cgit v1.2.3