diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-31 20:32:57 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-31 20:32:57 +0100 |
commit | d61396abe3ec958e8d619a3a8f9567ba90730580 (patch) | |
tree | 5e1e49da4c1bed86cb991349938f69607f12116c /FICS/playerdb.c | |
parent | c200db711a8c9cf6ee0a6827eb8dcc82925d58de (diff) |
Reformatted player_array_init()
Diffstat (limited to 'FICS/playerdb.c')
-rw-r--r-- | FICS/playerdb.c | 9 |
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 |