]> git.sesse.net Git - stockfish/blobdiff - src/movegen.h
Remove one indentation level in get_next_move()
[stockfish] / src / movegen.h
index 4bb443311232c49a352202422ece7bfd82caf136..6a04248ac3a3199c80f087aaf3a180ff5bc7ad4f 100644 (file)
@@ -20,6 +20,7 @@
 #if !defined(MOVEGEN_H_INCLUDED)
 #define MOVEGEN_H_INCLUDED
 
+#include "move.h"
 #include "position.h"
 
 enum MoveType {
@@ -33,10 +34,7 @@ enum MoveType {
   MV_PSEUDO_LEGAL
 };
 
-template<MoveType T>
+template<MoveType>
 MoveStack* generate(const Position& pos, MoveStack* mlist);
 
-extern bool move_is_legal(const Position& pos, const Move m, Bitboard pinned);
-extern bool move_is_legal(const Position& pos, const Move m);
-
 #endif // !defined(MOVEGEN_H_INCLUDED)