[前][次][番号順一覧][スレッド一覧]

ruby-changes:30815

From: nobu <ko1@a...>
Date: Mon, 9 Sep 2013 14:17:35 +0900 (JST)
Subject: [ruby-changes:30815] nobu:r42893 (trunk): eval.c, vm_insnhelper.c: adjust style

nobu	2013-09-09 14:17:17 +0900 (Mon, 09 Sep 2013)

  New Revision: 42893

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42893

  Log:
    eval.c, vm_insnhelper.c: adjust style
    
    * eval.c (rb_refinement_module_get_refined_class): adjust style.
    
    * vm_insnhelper.c (vm_profile_show_result): ditto.

  Modified files:
    trunk/eval.c
    trunk/vm_insnhelper.c
Index: eval.c
===================================================================
--- eval.c	(revision 42892)
+++ eval.c	(revision 42893)
@@ -1144,7 +1144,8 @@ rb_using_module(NODE *cref, VALUE module https://github.com/ruby/ruby/blob/trunk/eval.c#L1144
     using_module_recursive(cref, module);
 }
 
-VALUE rb_refinement_module_get_refined_class(VALUE module)
+VALUE
+rb_refinement_module_get_refined_class(VALUE module)
 {
     ID id_refined_class;
 
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 42892)
+++ vm_insnhelper.c	(revision 42893)
@@ -1464,7 +1464,8 @@ call_cfunc_15(VALUE (*func)(ANYARGS), VA https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L1464
 static int vm_profile_counter[4];
 #define VM_PROFILE_UP(x) (vm_profile_counter[x]++)
 #define VM_PROFILE_ATEXIT() atexit(vm_profile_show_result)
-static void vm_profile_show_result(void)
+static void
+vm_profile_show_result(void)
 {
     fprintf(stderr, "VM Profile results: \n");
     fprintf(stderr, "r->c call: %d\n", vm_profile_counter[0]);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]