diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 0118ee255ef017..0be482aa1d544e 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -4943,7 +4943,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();