summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-25 03:15:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-25 03:15:49 +0000
commitecb837865122577bfb43de55a422599d928d22c2 (patch)
tree08a7be2b45b947f5250925ae763efb784f5cd080 /vm_dump.c
parent55f7a4b72697497bd3c30272f3171b8944a38267 (diff)
vm_dump.c: adjust style
* vm_dump.c (backtrace): adjust style, inserting breaks between type, function name with its arguments, and its body. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 92e701c098..97abccfc74 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -434,7 +434,9 @@ rb_vmdebug_thread_dump_state(VALUE self)
# define UNW_LOCAL_ONLY
# include <libunwind.h>
# undef backtrace
-int backtrace (void **trace, int size) {
+int
+backtrace(void **trace, int size)
+{
unw_cursor_t cursor; unw_context_t uc;
unw_word_t ip;
int n = 0;