From e3af9cea88d79ed1a0b2bcec0cf2f6187a6f8250 Mon Sep 17 00:00:00 2001 From: normal Date: Tue, 21 Jul 2015 07:09:36 +0000 Subject: load.c (ruby_dln_librefs): make static This isn't used outside of load.c, so there appears to be no reason to expose it to other modules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ load.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e70174f6f1..52aca3bbed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jul 21 16:08:53 2015 Eric Wong + + * load.c (ruby_dln_librefs): make static + Tue Jul 21 13:36:54 2015 yuuji.yaginuma * lib/optparse.rb (complete): [DOC] fix typo. [Fix GH-973] diff --git a/load.c b/load.c index ca7f698ba1..e1c6fe1530 100644 --- a/load.c +++ b/load.c @@ -8,7 +8,7 @@ #include "eval_intern.h" #include "probes.h" -VALUE ruby_dln_librefs; +static VALUE ruby_dln_librefs; #define IS_RBEXT(e) (strcmp((e), ".rb") == 0) #define IS_SOEXT(e) (strcmp((e), ".so") == 0 || strcmp((e), ".o") == 0) -- cgit v1.2.3