From: Benjamin Peterson Date: Fri, 16 Feb 2024 16:49:41 +0000 (-0800) Subject: gh-113743: Give _PyTypes_AfterFork a prototype. (gh-115563) X-Git-Tag: v3.13.0a5~382 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ac9d9f2fbeb743ae6d6b1cbf73337c230e21f3c;p=thirdparty%2FPython%2Fcpython.git gh-113743: Give _PyTypes_AfterFork a prototype. (gh-115563) Fixes a compiler warning. --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 2e25c207c643..fe3b7b87c8b4 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();