]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.721 v7.3.721
authorBram Moolenaar <Bram@vim.org>
Tue, 20 Nov 2012 15:59:14 +0000 (16:59 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 20 Nov 2012 15:59:14 +0000 (16:59 +0100)
Problem:    Ruby interface defines local functions globally.
Solution:   Make the functions static.

src/if_ruby.c
src/version.c

index aea7b5656ea5e3731198173b95d34a69e0b61c75..bc15b4a6d2de86a81b71f2c6aead10ceae9f494d 100644 (file)
@@ -336,11 +336,11 @@ static void* (*ruby_process_options)(int, char**);
 #endif
 
 #ifdef RUBY19_OR_LATER
-SIGNED_VALUE rb_num2long_stub(VALUE x)
+static SIGNED_VALUE rb_num2long_stub(VALUE x)
 {
     return dll_rb_num2long(x);
 }
-VALUE rb_int2big_stub(SIGNED_VALUE x)
+static VALUE rb_int2big_stub(SIGNED_VALUE x)
 {
     return dll_rb_int2big(x);
 }
index 6b2919ad90ea413d204d829928ee43c017796978..fdac7f14c9b31853eb005872c76be9d8426bdc13 100644 (file)
@@ -725,6 +725,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    721,
 /**/
     720,
 /**/