Skip to content

Commit c551776

Browse files
committed
Modules/socketmodule.c: netdb_lock: define static.
1 parent 7cd8b42 commit c551776

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/socketmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ new_sockobject(SOCKET_T fd, int family, int type, int proto)
761761
/* Lock to allow python interpreter to continue, but only allow one
762762
thread to be in gethostbyname or getaddrinfo */
763763
#if defined(USE_GETHOSTBYNAME_LOCK) || defined(USE_GETADDRINFO_LOCK)
764-
PyThread_type_lock netdb_lock;
764+
static PyThread_type_lock netdb_lock;
765765
#endif
766766

767767

0 commit comments

Comments
 (0)