darwin: drop underscore from SIG._{BLOCK,UNBLOCK,SETMASK}

this makes them match decls in other OSes
This commit is contained in:
Lauri Tirkkonen 2023-07-25 23:47:25 +09:00 committed by Andrew Kelley
parent b5a471db3c
commit 972e70b794

View File

@ -1181,11 +1181,11 @@ pub const SIG = struct {
pub const HOLD = @as(?Sigaction.handler_fn, @ptrFromInt(5));
/// block specified signal set
pub const _BLOCK = 1;
pub const BLOCK = 1;
/// unblock specified signal set
pub const _UNBLOCK = 2;
pub const UNBLOCK = 2;
/// set specified signal set
pub const _SETMASK = 3;
pub const SETMASK = 3;
/// hangup
pub const HUP = 1;
/// interrupt