From 8ad06a6fa647500e1eefd703ef08a5c8990ccdbd Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 4 May 2024 16:50:16 +0200 Subject: Reformatted game_new() --- FICS/gamedb.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'FICS') diff --git a/FICS/gamedb.c b/FICS/gamedb.c index 102ec7b..444323c 100644 --- a/FICS/gamedb.c +++ b/FICS/gamedb.c @@ -86,11 +86,14 @@ PRIVATE int get_empty_slot() return g_num - 1; } -PUBLIC int game_new() +PUBLIC int +game_new(void) { - int new = get_empty_slot(); - game_zero(new); - return new; + int new = get_empty_slot(); + + game_zero(new); + + return new; } PUBLIC int -- cgit v1.2.3