Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 78568:b7d4a13c736e 2.7
Modules/socketmodule.c: netdb_lock: define static.
| author | Matthias Klose <doko@ubuntu.com> |
|---|---|
| date | Tue, 14 Aug 2012 17:24:47 +0200 |
| parents | e5478b6b93b5 |
| children | 39803c20c9bf |
line wrap: on
line diff
--- a/Modules/socketmodule.c Tue Aug 14 09:14:37 2012 -0400 +++ b/Modules/socketmodule.c Tue Aug 14 17:24:47 2012 +0200 @@ -761,7 +761,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
