]> granicus.if.org Git - vim/commitdiff
updated for version 7.4a.009 v7.4a.009
authorBram Moolenaar <Bram@vim.org>
Tue, 9 Jul 2013 15:42:46 +0000 (17:42 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 9 Jul 2013 15:42:46 +0000 (17:42 +0200)
Problem:    Compiler warnings for function prototypes.
Solution:   Add "void".  Move list_features() prototype. (Ken Takata)

src/gui_w48.c
src/if_py_both.h
src/version.c

index 07174ccd1885ec834f10413c68c66a41fff666cd..78aba03be1154efbdced3b2942992fb94ccb18a7 100644 (file)
@@ -3102,7 +3102,7 @@ logfont2name(LOGFONT lf)
  * 'guifont'
  */
     static void
-update_im_font()
+update_im_font(void)
 {
     LOGFONT    lf_wide;
 
index a9fe505a8b18828f87f37dd65457daf17b4ad4c4..48b7be7bebcd4ca3a4a09cf23ae71e2bbe87a805 100644 (file)
@@ -2100,7 +2100,7 @@ ListNew(PyTypeObject *subtype, list_T *list)
 }
 
     static list_T *
-py_list_alloc()
+py_list_alloc(void)
 {
     list_T     *ret;
 
@@ -5857,7 +5857,7 @@ init_structs(void)
        return -1;
 
     static int
-init_types()
+init_types(void)
 {
     PYTYPE_READY(IterType);
     PYTYPE_READY(BufferType);
index 5f8df773173c36de4dd758c796be1fa3ba13ad5e..9b5343e9d6a48ef838fcc406ce65a1ff22692c22 100644 (file)
@@ -35,8 +35,6 @@ static char   *mediumVersion = VIM_VERSION_MEDIUM;
 char   longVersion[sizeof(VIM_VERSION_LONG_DATE) + sizeof(__DATE__)
                                                      + sizeof(__TIME__) + 3];
 
-static void list_features __ARGS((void));
-
     void
 make_version()
 {
@@ -57,6 +55,7 @@ char  *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")";
 char   *longVersion = VIM_VERSION_LONG;
 #endif
 
+static void list_features __ARGS((void));
 static void version_msg __ARGS((char *s));
 
 static char *(features[]) =
@@ -728,6 +727,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    9,
 /**/
     8,
 /**/