authorgravatar for lauri@hacktheplanet.fiLauri Tirkkonen <lauri@hacktheplanet.fi> 2023-07-25 23:47:25+09:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-25 13:49:08-07:00
log972e70b7941561b10f9b3062dcd7b7a91016c546
tree0bcc35261dd36364d215ae5a66dd76caf112d201
parentb5a471db3cd9c041c091cd81eff37d73847a391e

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

this makes them match decls in other OSes

1 files changed, 3 insertions(+), 3 deletions(-)

lib/std/c/darwin.zig+3-3
......@@ -1181,11 +1181,11 @@ pub const SIG = struct {
11811181 pub const HOLD = @as(?Sigaction.handler_fn, @ptrFromInt(5));
11821182
11831183 /// block specified signal set
1184 pub const _BLOCK = 1;
1184 pub const BLOCK = 1;
11851185 /// unblock specified signal set
1186 pub const _UNBLOCK = 2;
1186 pub const UNBLOCK = 2;
11871187 /// set specified signal set
1188 pub const _SETMASK = 3;
1188 pub const SETMASK = 3;
11891189 /// hangup
11901190 pub const HUP = 1;
11911191 /// interrupt