From c0d475937372c98f9a67d25f2c0beb71e39b4fb1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 20 Nov 2012 16:59:14 +0100 Subject: [PATCH] updated for version 7.3.721 Problem: Ruby interface defines local functions globally. Solution: Make the functions static. --- src/if_ruby.c | 4 ++-- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/if_ruby.c b/src/if_ruby.c index aea7b5656e..bc15b4a6d2 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 6b2919ad90..fdac7f14c9 100644 --- a/src/version.c +++ b/src/version.c @@ -725,6 +725,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 721, /**/ 720, /**/ -- 2.47.2