aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/eco.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-17 01:34:41 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-17 01:34:41 +0100
commit0c6349b940dc7e2fc15a5dd6cf896f6d4c24c524 (patch)
treeb47cfb250101014bb2e33554add64beda027f5e9 /FICS/eco.c
parentff50710fae43da970970a8b6855827e313c1b331 (diff)
Marked functions as public
Diffstat (limited to 'FICS/eco.c')
-rw-r--r--FICS/eco.c20
1 files 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];