diff options
Diffstat (limited to 'FICS/gamedb.c')
-rw-r--r-- | FICS/gamedb.c | 11 |
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 |