X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmisc.cpp;h=1cb515c3e41f20e6d081061e806b77f7436b2df6;hb=31acd6bab70f4661316986c2c93163d39736fd61;hp=5bb8da697a06bd90807388ee574339d70bab6d12;hpb=fcee83810a5bcf774d3e13cf9e65ccf3b29e3319;p=stockfish diff --git a/src/misc.cpp b/src/misc.cpp index 5bb8da69..1cb515c3 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -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;