From: Matthias Klose Date: Tue, 14 Aug 2012 15:29:04 +0000 (+0200) Subject: Modules/socketmodule.c: netdb_lock: define static. X-Git-Tag: v3.3.0rc1~113^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d182a6c77e1b77e28d482e5fe92807f2d95469a6;p=python Modules/socketmodule.c: netdb_lock: define static. --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 338622dfcc..4f896fd41e 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -804,7 +804,7 @@ new_sockobject(SOCKET_T fd, int family, int type, int proto) /* Lock to allow python interpreter to continue, but only allow one thread to be in gethostbyname or getaddrinfo */ #if defined(USE_GETHOSTBYNAME_LOCK) || defined(USE_GETADDRINFO_LOCK) -PyThread_type_lock netdb_lock; +static PyThread_type_lock netdb_lock; #endif