diff options
Diffstat (limited to 'src/crash_reporter.zig')
-rw-r--r-- | src/crash_reporter.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crash_reporter.zig b/src/crash_reporter.zig index 3f2dadf1e..d98326530 100644 --- a/src/crash_reporter.zig +++ b/src/crash_reporter.zig @@ -10,7 +10,7 @@ fn setup_sigactions(act: ?*const os.Sigaction) !void { } const builtin = @import("builtin"); -const ErrorCallback = fn (sig: i32, addr: usize) void; +const ErrorCallback = *const fn (sig: i32, addr: usize) void; var on_error: ?ErrorCallback = null; noinline fn sigaction_handler(sig: i32, info: *const std.os.siginfo_t, _: ?*const anyopaque) callconv(.C) void { // Prevent recursive calls |