From f65e1d8dfa890e86b7c2213dc0deda7dea340f76 Mon Sep 17 00:00:00 2001
From: Benjamin Peterson <benjamin@python.org>
Date: Fri, 3 Dec 2021 14:56:36 -0800
Subject: [PATCH] bpo-45582 Fix prototype of _Py_Get_Getpath_CodeObject.

---
 Include/internal/pycore_initconfig.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Include/internal/pycore_initconfig.h b/Include/internal/pycore_initconfig.h
index be545f495dc0fa..a2f4cd182e8e92 100644
--- a/Include/internal/pycore_initconfig.h
+++ b/Include/internal/pycore_initconfig.h
@@ -168,7 +168,7 @@ PyAPI_FUNC(int) _PyConfig_FromDict(PyConfig *config, PyObject *dict);
 
 extern void _Py_DumpPathConfig(PyThreadState *tstate);
 
-PyAPI_FUNC(PyObject*) _Py_Get_Getpath_CodeObject();
+PyAPI_FUNC(PyObject*) _Py_Get_Getpath_CodeObject(void);
 
 
 /* --- Function used for testing ---------------------------------- */