ruby-changes:30837
From: nobu <ko1@a...>
Date: Thu, 12 Sep 2013 14:37:08 +0900 (JST)
Subject: [ruby-changes:30837] nobu:r42916 (trunk): signal.c: adjust style
nobu 2013-09-12 14:37:04 +0900 (Thu, 12 Sep 2013) New Revision: 42916 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42916 Log: signal.c: adjust style * signal.c (rb_sigaltstack_size, ruby_abort): adjust style, procnames-start-lines. Modified files: trunk/signal.c Index: signal.c =================================================================== --- signal.c (revision 42915) +++ signal.c (revision 42916) @@ -465,7 +465,8 @@ typedef RETSIGTYPE ruby_sigaction_t(int) https://github.com/ruby/ruby/blob/trunk/signal.c#L465 #endif #ifdef USE_SIGALTSTACK -int rb_sigaltstack_size(void) +int +rb_sigaltstack_size(void) { /* XXX: BSD_vfprintf() uses >1500KiB stack and x86-64 need >5KiB stack. */ int size = 8192; @@ -657,7 +658,8 @@ sigbus(int sig SIGINFO_ARG) https://github.com/ruby/ruby/blob/trunk/signal.c#L658 #endif #ifdef SIGSEGV -static void ruby_abort(void) +static void +ruby_abort(void) { #ifdef __sun /* Solaris's abort() is async signal unsafe. Of course, it is not -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/