From 7a6bdc1d305aa18e91cf3d8d59ee900d64b066df Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 31 Mar 2024 03:11:49 +0200 Subject: Made 'styleFuncs' private and added a parameter list --- FICS/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FICS/board.c b/FICS/board.c index c984033..dfb30df 100644 --- a/FICS/board.c +++ b/FICS/board.c @@ -54,7 +54,7 @@ PUBLIC char *bpstring[] = {" ", "p", "n", "b", "r", "q", "k"}; PUBLIC int pieceValues[7] = {0, 1, 3, 3, 5, 9, 0}; -PUBLIC int (*styleFuncs[MAX_STYLES])() = { +PRIVATE int (*styleFuncs[MAX_STYLES])(game_state_t *, move_t *) = { style1, style2, style3, -- cgit v1.2.3