diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-12-12 16:06:19 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-12-12 17:02:42 +0900 |
commit | 0df67a469561fab80b78478b99703ed893c4db07 (patch) | |
tree | 8cc322d18f27911bc5c6f42e8d924ada80ed5c4d /vm_core.h | |
parent | 21c5726418136d6efa98cbf205860a8bee328907 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |