From 071e78a57918dfaeb124742170a1586fcc8d613e Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 31 Dec 2023 20:29:01 +0100 Subject: Reformatted player_new() --- FICS/playerdb.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/FICS/playerdb.c b/FICS/playerdb.c index 50d81ce..1dacd29 100644 --- a/FICS/playerdb.c +++ b/FICS/playerdb.c @@ -95,13 +95,14 @@ PUBLIC void player_init(int startConsole) } } -PUBLIC int player_new() +PUBLIC int +player_new(void) { - int new; + int new; - new = get_empty_slot(); - player_zero(new); - return new; + new = get_empty_slot(); + player_zero(new); + return new; } PUBLIC int -- cgit v1.2.3