std.c (darwin) update to new opaque syntax

This was an undetected conflict between

76a195473d and
95a37373e9
This commit is contained in:
Andrew Kelley 2020-10-08 22:45:21 -07:00
parent 76a195473d
commit a4828f6d0f

View file

@ -23,7 +23,7 @@ pub const COPYFILE_STAT = 1 << 1;
pub const COPYFILE_XATTR = 1 << 2;
pub const COPYFILE_DATA = 1 << 3;
pub const copyfile_state_t = *@Type(.Opaque);
pub const copyfile_state_t = *opaque {};
pub extern "c" fn fcopyfile(from: fd_t, to: fd_t, state: ?copyfile_state_t, flags: u32) c_int;
pub extern "c" fn @"realpath$DARWIN_EXTSN"(noalias file_name: [*:0]const u8, noalias resolved_name: [*]u8) ?[*:0]u8;