]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-113743: Give _PyTypes_AfterFork a prototype. (gh-115563)
authorBenjamin Peterson <benjamin@python.org>
Fri, 16 Feb 2024 16:49:41 +0000 (08:49 -0800)
committerGitHub <noreply@github.com>
Fri, 16 Feb 2024 16:49:41 +0000 (08:49 -0800)
Fixes a compiler warning.

Objects/typeobject.c

index 2e25c207c643829354c160a5abc06cf386afed90..fe3b7b87c8b4b68962cc3df5ea962cff8fdfc078 100644 (file)
@@ -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();