https://github.com/python/cpython/commit/2ac9d9f2fbeb743ae6d6b1cbf73337c230e21f3c
commit: 2ac9d9f2fbeb743ae6d6b1cbf73337c230e21f3c
branch: main
author: Benjamin Peterson <[email protected]>
committer: benjaminp <[email protected]>
date: 2024-02-16T08:49:41-08:00
summary:
gh-113743: Give _PyTypes_AfterFork a prototype. (gh-115563)
Fixes a compiler warning.
files:
M Objects/typeobject.c
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 2e25c207c64382..fe3b7b87c8b4b6 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -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();
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]