commit | d182a6c77e1b77e28d482e5fe92807f2d95469a6 | [log] [tgz] |
---|---|---|
author | Matthias Klose <doko@ubuntu.com> | Tue Aug 14 17:29:04 2012 +0200 |
committer | Matthias Klose <doko@ubuntu.com> | Tue Aug 14 17:29:04 2012 +0200 |
tree | 25c615e622c0677063c2a816d238363d4feed0ea | |
parent | f158d86074465914c8de22e357c17090eb959da4 [diff] [blame] |
Modules/socketmodule.c: netdb_lock: define static.
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 338622d..4f896fd 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c
@@ -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