1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
normal 2015-07-21 07:09:36 +00:00
parent ec1d232f10
commit e3af9cea88
2 changed files with 5 additions and 1 deletions

View file

@ -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]

2
load.c
View file

@ -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)