]> git.sesse.net Git - stockfish/blobdiff - src/misc.cpp
Warn if a global function has no previous declaration
[stockfish] / src / misc.cpp
index 5bb8da697a06bd90807388ee574339d70bab6d12..1cb515c3e41f20e6d081061e806b77f7436b2df6 100644 (file)
@@ -517,7 +517,7 @@ void bindThisThread(size_t) {}
 /// API and returns the best node id for the thread with index idx. Original
 /// code from Texel by Peter Ă–sterlund.
 
-int best_node(size_t idx) {
+static int best_node(size_t idx) {
 
   int threads = 0;
   int nodes = 0;