Commit c551776f authored by Matthias Klose's avatar Matthias Klose

Modules/socketmodule.c: netdb_lock: define static.

parent 7cd8b42f
......@@ -761,7 +761,7 @@ new_sockobject(SOCKET_T fd, int family, int type, int proto)
/* 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment