summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
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;