gh-113743: Give _PyTypes_AfterFork a prototype. (gh-115563)

Fixes a compiler warning.
This commit is contained in:
Benjamin Peterson 2024-02-16 08:49:41 -08:00 committed by GitHub
parent b24c9161a6
commit 2ac9d9f2fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -4945,7 +4945,7 @@ update_cache_gil_disabled(struct type_cache_entry *entry, PyObject *name,
#endif #endif
void void
_PyTypes_AfterFork() _PyTypes_AfterFork(void)
{ {
#ifdef Py_GIL_DISABLED #ifdef Py_GIL_DISABLED
struct type_cache *cache = get_type_cache(); struct type_cache *cache = get_type_cache();