ruby-changes:39228
From: normal <ko1@a...>
Date: Tue, 21 Jul 2015 16:09:54 +0900 (JST)
Subject: [ruby-changes:39228] normal:r51309 (trunk): load.c (ruby_dln_librefs): make static
normal 2015-07-21 16:09:36 +0900 (Tue, 21 Jul 2015) New Revision: 51309 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51309 Log: 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. Modified files: trunk/ChangeLog trunk/load.c Index: ChangeLog =================================================================== --- ChangeLog (revision 51308) +++ ChangeLog (revision 51309) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Jul 21 16:08:53 2015 Eric Wong <e@8...> + + * load.c (ruby_dln_librefs): make static + Tue Jul 21 13:36:54 2015 yuuji.yaginuma <yuuji.yaginuma@g...> * lib/optparse.rb (complete): [DOC] fix typo. [Fix GH-973] Index: load.c =================================================================== --- load.c (revision 51308) +++ load.c (revision 51309) @@ -8,7 +8,7 @@ https://github.com/ruby/ruby/blob/trunk/load.c#L8 #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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/