mirror of https://github.com/python/cpython
gh-113743: Give _PyTypes_AfterFork a prototype. (gh-115563)
Fixes a compiler warning.
This commit is contained in:
parent
b24c9161a6
commit
2ac9d9f2fb
|
@ -4945,7 +4945,7 @@ update_cache_gil_disabled(struct type_cache_entry *entry, PyObject *name,
|
|||
#endif
|
||||
|
||||
void
|
||||
_PyTypes_AfterFork()
|
||||
_PyTypes_AfterFork(void)
|
||||
{
|
||||
#ifdef Py_GIL_DISABLED
|
||||
struct type_cache *cache = get_type_cache();
|
||||
|
|
Loading…
Reference in New Issue