authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-31 10:50:16-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-31 10:50:16-07:00
log381704dd0e7300dd5c621c46e9a64f374c3ad617
tree2f4d834ca85117d608abe3682be49b26c95b939e
parent88b4ee172f4a1822811c265613336c6bc5a2c435

Revert "std.c: fix few capcisum api calls, following-up on 6ae19fa."

This reverts commit 72dd22f262353fa7d37c89c7d163e97a162abb9b.

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

lib/std/c/freebsd.zig+4-4
......@@ -554,11 +554,11 @@ pub const CAP = struct {
554554pub extern "c" fn __cap_rights_init(version: c_int, rights: ?*cap_rights_t, ...) ?*cap_rights_t;
555555pub extern "c" fn __cap_rights_set(rights: ?*cap_rights_t, ...) ?*cap_rights_t;
556556pub extern "c" fn __cap_rights_clear(rights: ?*cap_rights_t, ...) ?*cap_rights_t;
557pub extern "c" fn __cap_rights_merge(dst: ?*cap_rights_t, src: ?*const cap_rights_t) ?*cap_rights_t;
558pub extern "c" fn __cap_rights_remove(dst: ?*cap_rights_t, src: ?*const cap_rights_t) ?*cap_rights_t;
559pub extern "c" fn __cap_rights_contains(dst: ?*const cap_rights_t, src: ?*const cap_rights_t) bool;
557560pub extern "c" fn __cap_rights_is_set(rights: ?*const cap_rights_t, ...) bool;
558pub extern "c" fn cap_rights_merge(dst: ?*cap_rights_t, src: ?*const cap_rights_t) ?*cap_rights_t;
559pub extern "c" fn cap_rights_remove(dst: ?*cap_rights_t, src: ?*const cap_rights_t) ?*cap_rights_t;
560pub extern "c" fn cap_rights_contains(dst: ?*const cap_rights_t, src: ?*const cap_rights_t) bool;
561pub extern "c" fn cap_rights_is_valid(rights: ?*const cap_rights_t) bool;
561pub extern "c" fn __cap_rights_is_valid(rights: ?*const cap_rights_t) bool;
562562
563563pub const kinfo_file = extern struct {
564564 /// Size of this record.