Mercurial > vim
changeset 4922:8dd2769ab75c v7.3.1206
updated for version 7.3.1206
Problem: Inconsistent function argument declarations.
Solution: Use ANSI style.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 16 Jun 2013 14:25:57 +0200 |
parents | e47973e026d2 |
children | 7892cab5925d |
files | src/if_py_both.h src/version.c |
diffstat | 2 files changed, 14 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -1278,7 +1278,7 @@ DictionaryNew(PyTypeObject *subtype, dic } static dict_T * -py_dict_alloc() +py_dict_alloc(void) { dict_T *r; @@ -1545,7 +1545,8 @@ DictionaryIter(DictionaryObject *self) } static PyInt -DictionaryAssItem(DictionaryObject *self, PyObject *keyObject, PyObject *valObject) +DictionaryAssItem( + DictionaryObject *self, PyObject *keyObject, PyObject *valObject) { char_u *key; typval_T tv; @@ -2669,11 +2670,7 @@ OptionsItem(OptionsObject *self, PyObjec } static int -set_option_value_err(key, numval, stringval, opt_flags) - char_u *key; - int numval; - char_u *stringval; - int opt_flags; +set_option_value_err(char_u *key, int numval, char_u *stringval, int opt_flags) { char_u *errmsg; @@ -2688,13 +2685,13 @@ set_option_value_err(key, numval, string } static int -set_option_value_for(key, numval, stringval, opt_flags, opt_type, from) - char_u *key; - int numval; - char_u *stringval; - int opt_flags; - int opt_type; - void *from; +set_option_value_for( + char_u *key, + int numval, + char_u *stringval, + int opt_flags, + int opt_type, + void *from) { win_T *save_curwin = NULL; tabpage_T *save_curtab = NULL; @@ -5619,7 +5616,7 @@ init_types() } static int -init_sys_path() +init_sys_path(void) { PyObject *path; PyObject *path_hook;