summaryrefslogtreecommitdiff
path: root/src/if_ruby.c
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
commitc0d475937372c98f9a67d25f2c0beb71e39b4fb1 (patch)
tree11e6d63ef75db632450cf8195afdf527ac24efd5 /src/if_ruby.c
parent7c5f1204101683f90214582f71e8c7ce54000487 (diff)
downloadvim-git-c0d475937372c98f9a67d25f2c0beb71e39b4fb1.tar.gz
updated for version 7.3.721v7.3.721
Problem: Ruby interface defines local functions globally. Solution: Make the functions static.
Diffstat (limited to 'src/if_ruby.c')
-rw-r--r--src/if_ruby.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c
index aea7b5656..bc15b4a6d 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);
}