From: bert hubert Date: Sun, 22 Nov 2015 16:01:13 +0000 (+0100) Subject: namespace sanitation X-Git-Tag: dnsdist-1.0.0-alpha1~210^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2fafb64014aba5210b68658d5d2b7196826576fc;p=pdns namespace sanitation --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 21ecf2563..9ad22f03b 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1576,7 +1576,7 @@ void broadcastFunction(const pipefunc_t& func, bool skipSelf) } } -uint32_t g_disthashseed; +static uint32_t g_disthashseed; void distributeAsyncFunction(const string& packet, const pipefunc_t& func) { unsigned int hash = hashQuestion(packet.c_str(), packet.length(), g_disthashseed);