0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.3.1206

Problem:    Inconsistent function argument declarations.
Solution:   Use ANSI style.
This commit is contained in:
Bram Moolenaar
2013-06-16 14:25:57 +02:00
parent 926b5d3b30
commit 5ab9d98b9a
2 changed files with 14 additions and 15 deletions

View File

@@ -1278,7 +1278,7 @@ DictionaryNew(PyTypeObject *subtype, dict_T *dict)
} }
static dict_T * static dict_T *
py_dict_alloc() py_dict_alloc(void)
{ {
dict_T *r; dict_T *r;
@@ -1545,7 +1545,8 @@ DictionaryIter(DictionaryObject *self)
} }
static PyInt static PyInt
DictionaryAssItem(DictionaryObject *self, PyObject *keyObject, PyObject *valObject) DictionaryAssItem(
DictionaryObject *self, PyObject *keyObject, PyObject *valObject)
{ {
char_u *key; char_u *key;
typval_T tv; typval_T tv;
@@ -2669,11 +2670,7 @@ OptionsItem(OptionsObject *self, PyObject *keyObject)
} }
static int static int
set_option_value_err(key, numval, stringval, opt_flags) set_option_value_err(char_u *key, int numval, char_u *stringval, int opt_flags)
char_u *key;
int numval;
char_u *stringval;
int opt_flags;
{ {
char_u *errmsg; char_u *errmsg;
@@ -2688,13 +2685,13 @@ set_option_value_err(key, numval, stringval, opt_flags)
} }
static int static int
set_option_value_for(key, numval, stringval, opt_flags, opt_type, from) set_option_value_for(
char_u *key; char_u *key,
int numval; int numval,
char_u *stringval; char_u *stringval,
int opt_flags; int opt_flags,
int opt_type; int opt_type,
void *from; void *from)
{ {
win_T *save_curwin = NULL; win_T *save_curwin = NULL;
tabpage_T *save_curtab = NULL; tabpage_T *save_curtab = NULL;
@@ -5619,7 +5616,7 @@ init_types()
} }
static int static int
init_sys_path() init_sys_path(void)
{ {
PyObject *path; PyObject *path;
PyObject *path_hook; PyObject *path_hook;

View File

@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1206,
/**/ /**/
1205, 1205,
/**/ /**/