mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Removing some superfluous extern declarations
No functional change. Resolves #93
This commit is contained in:
parent
bcbab19376
commit
bc83515c9e
3 changed files with 13 additions and 13 deletions
|
@ -28,9 +28,9 @@ namespace Eval {
|
|||
|
||||
const Value Tempo = Value(17); // Must be visible to search
|
||||
|
||||
extern void init();
|
||||
extern Value evaluate(const Position& pos);
|
||||
extern std::string trace(const Position& pos);
|
||||
void init();
|
||||
Value evaluate(const Position& pos);
|
||||
std::string trace(const Position& pos);
|
||||
|
||||
}
|
||||
|
||||
|
|
16
src/misc.h
16
src/misc.h
|
@ -26,15 +26,15 @@
|
|||
|
||||
#include "types.h"
|
||||
|
||||
extern const std::string engine_info(bool to_uci = false);
|
||||
extern void timed_wait(WaitCondition&, Lock&, int);
|
||||
extern void prefetch(char* addr);
|
||||
extern void start_logger(bool b);
|
||||
const std::string engine_info(bool to_uci = false);
|
||||
void timed_wait(WaitCondition&, Lock&, int);
|
||||
void prefetch(char* addr);
|
||||
void start_logger(bool b);
|
||||
|
||||
extern void dbg_hit_on(bool b);
|
||||
extern void dbg_hit_on_c(bool c, bool b);
|
||||
extern void dbg_mean_of(int v);
|
||||
extern void dbg_print();
|
||||
void dbg_hit_on(bool b);
|
||||
void dbg_hit_on_c(bool c, bool b);
|
||||
void dbg_mean_of(int v);
|
||||
void dbg_print();
|
||||
|
||||
|
||||
namespace Time {
|
||||
|
|
|
@ -105,8 +105,8 @@ extern Position RootPos;
|
|||
extern Time::point SearchTime;
|
||||
extern StateStackPtr SetupStates;
|
||||
|
||||
extern void init();
|
||||
extern void think();
|
||||
void init();
|
||||
void think();
|
||||
template<bool Root> uint64_t perft(Position& pos, Depth depth);
|
||||
|
||||
} // namespace Search
|
||||
|
|
Loading…
Add table
Reference in a new issue