[Python-checkins] cpython (3.2): Modules/socketmodule.c: netdb_lock: define static.
matthias.klose
python-checkins at python.org
Tue Aug 14 17:33:01 CEST 2012
http://hg.python.org/cpython/rev/6ec9e646ffc7
changeset: 78569:6ec9e646ffc7
branch: 3.2
parent: 78564:e0e8e70e4035
user: Matthias Klose <doko at ubuntu.com>
date: Tue Aug 14 17:29:04 2012 +0200
summary:
Modules/socketmodule.c: netdb_lock: define static.
files:
Modules/socketmodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
--- 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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list