From eeb39e0152f94aaaf3b503f6719ce5b6c50a1481 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 4 Sep 2013 07:18:24 +0000 Subject: vm.c: prototype * vm.c (rb_next_class_sequence): use ANSI style definition and prorotype declaration, instead of old-K&R style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_method.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vm_method.c') diff --git a/vm_method.c b/vm_method.c index b8b3b579aa..41064ad9b4 100644 --- a/vm_method.c +++ b/vm_method.c @@ -42,7 +42,8 @@ rb_clear_cache_by_class(VALUE klass) if (klass && klass != Qundef) { if (klass == rb_cBasicObject || klass == rb_cObject || klass == rb_mKernel) { INC_VM_STATE_VERSION(); - } else { + } + else { rb_class_clear_method_cache(klass); } } -- cgit v1.2.3