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 {...@@ -1181,11 +1181,11 @@ pub const SIG = struct {
1181 pub const HOLD = @as(?Sigaction.handler_fn, @ptrFromInt(5));1181 pub const HOLD = @as(?Sigaction.handler_fn, @ptrFromInt(5));
11821182
1183 /// block specified signal set1183 /// block specified signal set
1184 pub const _BLOCK = 1;1184 pub const BLOCK = 1;
1185 /// unblock specified signal set1185 /// unblock specified signal set
1186 pub const _UNBLOCK = 2;1186 pub const UNBLOCK = 2;
1187 /// set specified signal set1187 /// set specified signal set
1188 pub const _SETMASK = 3;1188 pub const SETMASK = 3;
1189 /// hangup1189 /// hangup
1190 pub const HUP = 1;1190 pub const HUP = 1;
1191 /// interrupt1191 /// interrupt