From 972e70b7941561b10f9b3062dcd7b7a91016c546 Mon Sep 17 00:00:00 2001 From: Lauri Tirkkonen Date: Tue, 25 Jul 2023 23:47:25 +0900 Subject: [PATCH] darwin: drop underscore from SIG._{BLOCK,UNBLOCK,SETMASK} this makes them match decls in other OSes --- lib/std/c/darwin.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/std/c/darwin.zig b/lib/std/c/darwin.zig index 1901271b83..c3e464f6d2 100644 --- a/lib/std/c/darwin.zig +++ b/lib/std/c/darwin.zig @@ -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