aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/gamedb.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-05-04 16:50:16 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-05-04 16:50:16 +0200
commit8ad06a6fa647500e1eefd703ef08a5c8990ccdbd (patch)
tree58fad4a6ef67f5fe969f6ce10f464217e22d0fb3 /FICS/gamedb.c
parent0f982ffaaa422b88091a15e4f2a47eecdc388970 (diff)
Reformatted game_new()
Diffstat (limited to 'FICS/gamedb.c')
-rw-r--r--FICS/gamedb.c11
1 files changed, 7 insertions, 4 deletions
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