aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/playerdb.c11
1 files 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