summaryrefslogtreecommitdiff
path: root/src/if_python.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_python.c
parent66f948e928d5e0cd3123af902aa8ac1613534c94 (diff)
downloadvim-git-68c2f638e65d914dc6e84eb7ce2624f08af525c0.tar.gz
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_python.c')
-rw-r--r--src/if_python.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_python.c b/src/if_python.c
index 4f028e53b..43c89928e 100644
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -861,7 +861,7 @@ Python_RestoreThread(void)
#endif
void
-python_end()
+python_end(void)
{
static int recurse = 0;
@@ -899,7 +899,7 @@ python_end()
#if (defined(DYNAMIC_PYTHON) && defined(FEAT_PYTHON3)) || defined(PROTO)
int
-python_loaded()
+python_loaded(void)
{
return (hinstPython != 0);
}