diff options
author | Benjamin Peterson <benjamin@python.org> | 2024-02-16 16:49:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 16:49:41 (GMT) |
commit | 2ac9d9f2fbeb743ae6d6b1cbf73337c230e21f3c (patch) | |
tree | c6251f2cf958e822afa29b6c2727de120c303e6e | |
parent | b24c9161a651f549ed48f4b4dba8996fe9cc4e09 (diff) | |
download | cpython-2ac9d9f2fbeb743ae6d6b1cbf73337c230e21f3c.zip cpython-2ac9d9f2fbeb743ae6d6b1cbf73337c230e21f3c.tar.gz cpython-2ac9d9f2fbeb743ae6d6b1cbf73337c230e21f3c.tar.bz2 |
gh-113743: Give _PyTypes_AfterFork a prototype. (gh-115563)
Fixes a compiler warning.
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 2e25c20..fe3b7b8 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(); |