From b2d05fdef7c030ef8ab5256f68025b016a91b003 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Tue, 10 Aug 2010 15:45:14 +0200 Subject: [PATCH] struct joseki -> struct joseki_pattern --- joseki/base.c | 2 +- joseki/base.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/joseki/base.c b/joseki/base.c index 19c16a0..75a03ce 100644 --- a/joseki/base.c +++ b/joseki/base.c @@ -8,7 +8,7 @@ #include "joseki/base.h" -struct joseki joseki_pats[1 << joseki_hash_bits]; +struct joseki_pattern joseki_pats[1 << joseki_hash_bits]; void joseki_load(void) diff --git a/joseki/base.h b/joseki/base.h index b83eeff..d6939a0 100644 --- a/joseki/base.h +++ b/joseki/base.h @@ -4,14 +4,14 @@ #include "board.h" /* Single joseki situation - moves for S_BLACK-1, S_WHITE-1. */ -struct joseki { +struct joseki_pattern { /* moves[] is a pass-terminated list or NULL */ coord_t *moves[2]; }; #define joseki_hash_bits 20 // 8M w/ 32-bit pointers #define joseki_hash_mask ((1 << joseki_hash_bits) - 1) -extern struct joseki joseki_pats[]; +extern struct joseki_pattern joseki_pats[]; void joseki_load(void); -- 2.11.4.GIT