commit d5dfd38e882c32f8d6788afb3a47e40ff34db73f from: Markus Uhlin date: Sun May 5 15:42:19 2024 UTC Reformatted add_pos() commit - 4e179b0677c5ee49aee3b76ffc62d613740f41b3 commit + d5dfd38e882c32f8d6788afb3a47e40ff34db73f blob - ac20772bded7b844c7878bb869ec902949b6081f blob + 005eaf10ba87a1e64daa1a95efc2e4fe8100a97c --- FICS/movecheck.c +++ FICS/movecheck.c @@ -349,11 +349,12 @@ PRIVATE int legal_king_move(game_state_t * gs, int ff, return 1; } -PRIVATE void add_pos(int tof, int tor, int *posf, int *posr, int *numpos) +PRIVATE void +add_pos(int tof, int tor, int *posf, int *posr, int *numpos) { - posf[*numpos] = tof; - posr[*numpos] = tor; - (*numpos)++; + posf[*numpos] = tof; + posr[*numpos] = tor; + (*numpos)++; } PRIVATE void