From: Matthias Klose Date: Tue, 14 Aug 2012 15:24:47 +0000 (+0200) Subject: Modules/socketmodule.c: netdb_lock: define static. X-Git-Tag: v2.7.4rc1~639 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c551776f8e5b4c8bcb3cf4b91c679ba080e543cf;p=thirdparty%2FPython%2Fcpython.git Modules/socketmodule.c: netdb_lock: define static. --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 70da7c5b1880..414994e181fc 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -761,7 +761,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