From 7070471bb98b6f0bf2e81eb0de5f77a7068bcaed Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 16 Dec 2023 18:23:16 +0100 Subject: Moved structs to the header --- FICS/eco.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'FICS/eco.c') diff --git a/FICS/eco.c b/FICS/eco.c index 65a33a5..27bc953 100644 --- a/FICS/eco.c +++ b/FICS/eco.c @@ -4,6 +4,7 @@ #include "command.h" #include "common.h" #include "config.h" +#include "eco.h" #include "gamedb.h" #include "gameproc.h" #include "obsproc.h" @@ -12,21 +13,6 @@ PUBLIC char *book_dir = DEFAULT_BOOK; -typedef struct { - char ECO[4]; - char FENpos[80]; -} ECO_entry; - -typedef struct { - char NIC[6]; - char FENpos[80]; -} NIC_entry; - -typedef struct { - char LONG[80]; - char FENpos[80]; -} LONG_entry; - ECO_entry *ECO_book[1096]; NIC_entry *NIC_book[1096]; LONG_entry *LONG_book[4096]; -- cgit v1.2.3