]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1206 v7.3.1206
authorBram Moolenaar <Bram@vim.org>
Sun, 16 Jun 2013 12:25:57 +0000 (14:25 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 16 Jun 2013 12:25:57 +0000 (14:25 +0200)
Problem:    Inconsistent function argument declarations.
Solution:   Use ANSI style.

src/if_py_both.h
src/version.c

index f19deb090a6881587de893359e2d09ebe4a1bbcd..9acb3105b2bc8b7f279fd8233617456ff7b06815 100644 (file)
@@ -1278,7 +1278,7 @@ DictionaryNew(PyTypeObject *subtype, dict_T *dict)
 }
 
     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, PyObject *keyObject)
 }
 
     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, stringval, opt_flags)
 }
 
     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;
index 39a076385fa42fa189ebf7e4c3fd3563ff929a95..85147e818005cca3fa5155e75ac4b73769ac4d3f 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1206,
 /**/
     1205,
 /**/