]> git.sesse.net Git - stockfish/commit
Cleanup piece_attacks_square() functions
authorMarco Costalba <mcostalba@gmail.com>
Sun, 20 Sep 2009 08:43:28 +0000 (09:43 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 20 Sep 2009 09:12:56 +0000 (10:12 +0100)
commitf74f42b2982e25e180417948771843e8bb6bd4b7
treeb2a06897d8c7b8a0eb02a911db2ec4760c11eb99
parent0e0adfe2e1a01ca5f46af495e14c41e23ffaa4d0
Cleanup piece_attacks_square() functions

Most of them are not required to be public and are
used in one place only so remove them and use its
definitions.

Also rename piece_attacks_square() in piece_attacks()
to be aligned to the current naming policy.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/movegen.cpp
src/position.cpp
src/position.h
src/search.cpp