diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-17 01:25:17 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-17 01:25:17 +0100 |
commit | bf4de0aab3f3c058144595d4292147e30c8bb4e1 (patch) | |
tree | 72f007ee6072cbc7b8829077e1ff0092c41b5773 | |
parent | b3327c3e8f75a867c898ca8b04ae6989d5cf54a4 (diff) |
Moved SPACE_CHK()
-rw-r--r-- | FICS/eco.c | 8 | ||||
-rw-r--r-- | FICS/eco.h | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -11,14 +11,6 @@ #include "playerdb.h" #include "utils.h" -#define SPACE_CHK()\ - do {\ - if (space > 0) {\ - FENstring[FENcount++] = (space + '0');\ - space = 0;\ - }\ - } while (0) - PUBLIC char *book_dir = DEFAULT_BOOK; ECO_entry *ECO_book[1096]; @@ -1,6 +1,14 @@ #ifndef _ECO_H #define _ECO_H +#define SPACE_CHK()\ + do {\ + if (space > 0) {\ + FENstring[FENcount++] = (space + '0');\ + space = 0;\ + }\ + } while (0) + typedef struct { char ECO[4]; char FENpos[80]; |