* vm_method.c (rb_unlink_method_entry): make it static.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2015-05-30 18:35:21 +00:00
parent 744d63aacf
commit 255c16b598
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Sun May 31 03:34:25 2015 Koichi Sasada <ko1@atdot.net>
* vm_method.c (rb_unlink_method_entry): make it static.
Sun May 31 03:26:58 2015 Koichi Sasada <ko1@atdot.net>
* method.h, vm_method.c (rb_free_method_entry): constify a parameter.

View File

@ -129,7 +129,7 @@ rb_add_method_cfunc(VALUE klass, ID mid, VALUE (*func)(ANYARGS), int argc, rb_me
}
}
void
static void
rb_unlink_method_entry(rb_method_entry_t *me)
{
struct unlinked_method_entry_list_entry *ume = ALLOC(struct unlinked_method_entry_list_entry);