summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-21 07:09:36 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-21 07:09:36 +0000
commite3af9cea88d79ed1a0b2bcec0cf2f6187a6f8250 (patch)
treedaabab384d3a2f54aae3ca754be2bce92d67770e
parentec1d232f100d9cacaaa588507ff9b657b363bd29 (diff)
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
-rw-r--r--ChangeLog4
-rw-r--r--load.c2
2 files changed, 5 insertions, 1 deletions
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 <e@80x24.org>
+
+ * load.c (ruby_dln_librefs): make static
+
Tue Jul 21 13:36:54 2015 yuuji.yaginuma <yuuji.yaginuma@gmail.com>
* 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)