From 0c6349b940dc7e2fc15a5dd6cf896f6d4c24c524 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 17 Dec 2023 01:34:41 +0100 Subject: Marked functions as public --- FICS/eco.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/FICS/eco.c b/FICS/eco.c index ea2e131..7d67726 100644 --- a/FICS/eco.c +++ b/FICS/eco.c @@ -19,7 +19,7 @@ LONG_entry *LONG_book[4096]; int ECO_entries, NIC_entries, LONG_entries; -char * +PUBLIC char * boardToFEN(int g) { int FENcount = 0; @@ -100,8 +100,8 @@ boardToFEN(int g) return FENstring; } -void -ECO_init() +PUBLIC void +ECO_init(void) { FILE *fp; char ECO[4]; @@ -163,8 +163,8 @@ ECO_init() } } -void -NIC_init() +PUBLIC void +NIC_init(void) { FILE *fp; char FENpos[73]; @@ -218,8 +218,8 @@ NIC_init() NIC_entries = i; } -void -LONG_init() +PUBLIC void +LONG_init(void) { FILE *fp; char FENpos[73]; @@ -275,15 +275,15 @@ LONG_init() LONG_entries = i; } -void -BookInit() +PUBLIC void +BookInit(void) { ECO_init(); NIC_init(); LONG_init(); } -char * +PUBLIC char * getECO(int g) { static char ECO[4]; -- cgit v1.2.3