Remove redundant extern modifier for function declarations

Functions have external linkage by default, so there's no need to
declare them extern.

closes https://github.com/official-stockfish/Stockfish/pull/4308

No functional change
This commit is contained in:
Sebastian Buchwald
2022-12-27 10:31:24 +01:00
committed by Joost VandeVondele
parent f09b391ceb
commit 258c13ba8c
3 changed files with 3 additions and 3 deletions

View File

@@ -204,7 +204,7 @@ private:
bool chess960;
};
extern std::ostream& operator<<(std::ostream& os, const Position& pos);
std::ostream& operator<<(std::ostream& os, const Position& pos);
inline Color Position::side_to_move() const {
return sideToMove;