summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2012-11-20 16:59:14 +0100
committerBram Moolenaar <bram@vim.org>2012-11-20 16:59:14 +0100
commitbdec84bd6a97575efb8d03434d555d0bebd9b599 (patch)
treeb0ae722e2004259a70adec6b30436657a8c51871
parent5290cc1ee796c7b536b0bfdd7208e56abadbaedc (diff)
downloadvim-bdec84bd6a97575efb8d03434d555d0bebd9b599.tar.gz
updated for version 7.3.721v7.3.721v7-3-721
Problem: Ruby interface defines local functions globally. Solution: Make the functions static.
-rw-r--r--src/if_ruby.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c
index aea7b565..bc15b4a6 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -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);
}
diff --git a/src/version.c b/src/version.c
index 6b2919ad..fdac7f14 100644
--- 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,