summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-12 16:06:19 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-12 17:02:42 +0900
commit0df67a469561fab80b78478b99703ed893c4db07 (patch)
tree8cc322d18f27911bc5c6f42e8d924ada80ed5c4d /vm_core.h
parent21c5726418136d6efa98cbf205860a8bee328907 (diff)
Signal handler type should be void
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3889
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index f4517233ec..a4c0e874ec 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -1631,7 +1631,7 @@ extern void rb_vmdebug_debug_print_post(const rb_execution_context_t *ec, const
#define SDR() rb_vmdebug_stack_dump_raw(GET_EC(), GET_EC()->cfp)
#define SDR2(cfp) rb_vmdebug_stack_dump_raw(GET_EC(), (cfp))
void rb_vm_bugreport(const void *);
-typedef RETSIGTYPE (*ruby_sighandler_t)(int);
+typedef void (*ruby_sighandler_t)(int);
NORETURN(void rb_bug_for_fatal_signal(ruby_sighandler_t default_sighandler, int sig, const void *, const char *fmt, ...));
/* functions about thread/vm execution */