Mercurial > vim
diff src/if_python.c @ 7823:bcef391c101c v7.4.1208
commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 30 17:24:07 2016 +0100
patch 7.4.1208
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Jan 2016 17:30:04 +0100 |
parents | 53163e4d9e4f |
children | 3f7382858d4d |
line wrap: on
line diff
--- 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); }