changeset 3931:b23f583e132e v7.3.721

updated for version 7.3.721 Problem: Ruby interface defines local functions globally. Solution: Make the functions static.
author Bram Moolenaar <bram@vim.org>
date Tue, 20 Nov 2012 16:59:14 +0100
parents 7a7d5fd1b491
children 105ad6e978e9
files src/if_ruby.c src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -336,11 +336,11 @@ static void* (*ruby_process_options)(int
 #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);
 }
--- a/src/version.c
+++ b/src/version.c
@@ -726,6 +726,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    721,
+/**/
     720,
 /**/
     719,