From 98dc3e780848a7b5637b4b1df180c20f6d7e15f5 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 16 Feb 2024 08:21:24 -0800 Subject: [PATCH] gh-113743: Give _PyTypes_AfterFork a prototype. Fixes a compiler warning. --- Objects/typeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 0118ee255ef017..0be482aa1d544e 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -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();