aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/playerdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/playerdb.c')
-rw-r--r--FICS/playerdb.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c
index 5917a74..feb5f8f 100644
--- a/FICS/playerdb.c
+++ b/FICS/playerdb.c
@@ -67,12 +67,11 @@ PRIVATE int get_empty_slot(void)
return p_num - 1;
}
-PUBLIC void player_array_init()
+PUBLIC void
+player_array_init(void)
{
- int i;
-
- for (i = 0; i < PARRAY_SIZE; i++)
- parray[i].status = PLAYER_EMPTY;
+ for (int i = 0; i < PARRAY_SIZE; i++)
+ parray[i].status = PLAYER_EMPTY;
}
PUBLIC void