Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 78569:6ec9e646ffc7 3.2
Modules/socketmodule.c: netdb_lock: define static.
| author | Matthias Klose <doko@ubuntu.com> |
|---|---|
| date | Tue, 14 Aug 2012 17:29:04 +0200 |
| parents | 55849442d7a9 |
| children | 974ace29ee2d cdf85b7453c9 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Tue Aug 14 15:38:15 2012 +0300 +++ b/Modules/socketmodule.c Tue Aug 14 17:29:04 2012 +0200 @@ -804,7 +804,7 @@ /* 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
