]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.259 v7.4.259
authorBram Moolenaar <Bram@vim.org>
Wed, 23 Apr 2014 10:52:40 +0000 (12:52 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 23 Apr 2014 10:52:40 +0000 (12:52 +0200)
Problem:    Warning for misplaced "const".
Solution:   Move the "const". (Yukihiro Nakadaira)

src/os_unix.c
src/version.c

index 32701fdc7820cf6b53654e9560b9c2cdb48ba05e..b735a13bb0f4adc3fe4db4c19f69ed8c0eaeed97 100644 (file)
@@ -2815,7 +2815,7 @@ mch_copy_sec(from_file, to_file)
     char_u     *from_file;
     char_u     *to_file;
 {
-    static const char const *smack_copied_attributes[] =
+    static const char * const smack_copied_attributes[] =
        {
            XATTR_NAME_SMACK,
            XATTR_NAME_SMACKEXEC,
index 6da3fe30e4033d2e777620d8f668f07ad2439bd0..f8464c0da9f4caf9fe074ab55cdf7d69611a453b 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    259,
 /**/
     258,
 /**/