commit | c551776f8e5b4c8bcb3cf4b91c679ba080e543cf | [log] [tgz] |
---|---|---|
author | Matthias Klose <doko@ubuntu.com> | Tue Aug 14 17:24:47 2012 +0200 |
committer | Matthias Klose <doko@ubuntu.com> | Tue Aug 14 17:24:47 2012 +0200 |
tree | 1a87518cd1f7704da8641a36818e262ccd8a080e | |
parent | 7cd8b42f32f18a08cedee7a1e424c4be6923e5c2 [diff] [blame] |
Modules/socketmodule.c: netdb_lock: define static.
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 70da7c5..414994e 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c
@@ -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