patch 7.4.1208
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
diff --git a/src/if_python3.c b/src/if_python3.c
index ec17547..569aca8 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -695,7 +695,7 @@
static void get_py3_exceptions(void);
static void
-get_py3_exceptions()
+get_py3_exceptions(void)
{
PyObject *exmod = PyImport_ImportModule("builtins");
PyObject *exdict = PyModule_GetDict(exmod);
@@ -800,7 +800,7 @@
*/
void
-python3_end()
+python3_end(void)
{
static int recurse = 0;
@@ -830,7 +830,7 @@
#if (defined(DYNAMIC_PYTHON3) && defined(DYNAMIC_PYTHON) && defined(FEAT_PYTHON) && defined(UNIX)) || defined(PROTO)
int
-python3_loaded()
+python3_loaded(void)
{
return (hinstPy3 != 0);
}