summaryrefslogtreecommitdiffstats
path: root/src/if_python3.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-30 17:24:07 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-30 17:24:07 +0100
commit68c2f638e65d914dc6e84eb7ce2624f08af525c0 (patch)
tree051b6b7500c6ac80c45cdeff26296c5b7acb88ff /src/if_python3.c
parent66f948e928d5e0cd3123af902aa8ac1613534c94 (diff)
patch 7.4.1208v7.4.1208
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
Diffstat (limited to 'src/if_python3.c')
-rw-r--r--src/if_python3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/if_python3.c b/src/if_python3.c
index ec1754715a..569aca8570 100644
--- a/src/if_python3.c
+++ b/src/if_python3.c
@@ -695,7 +695,7 @@ python3_enabled(int verbose)
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 @@ static PyObject *Py3Init_vim(void);
*/
void
-python3_end()
+python3_end(void)
{
static int recurse = 0;
@@ -830,7 +830,7 @@ python3_end()
#if (defined(DYNAMIC_PYTHON3) && defined(DYNAMIC_PYTHON) && defined(FEAT_PYTHON) && defined(UNIX)) || defined(PROTO)
int
-python3_loaded()
+python3_loaded(void)
{
return (hinstPy3 != 0);
}