Skip to content

Commit

Permalink
pythongh-113743: Give _PyTypes_AfterFork a prototype.
Browse files Browse the repository at this point in the history
Fixes a compiler warning.
  • Loading branch information
benjaminp committed Feb 16, 2024
1 parent f92857a commit 98dc3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/typeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 98dc3e7

Please sign in to comment.