aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/playerdb.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-31 20:29:01 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-31 20:29:01 +0100
commit071e78a57918dfaeb124742170a1586fcc8d613e (patch)
tree84fff9ec1be815247804d7b7435f181757783a0c /FICS/playerdb.c
parentf03356fe83ea1533d27b81df4c48b4c286564cbc (diff)
Reformatted player_new()
Diffstat (limited to 'FICS/playerdb.c')
-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