exchangedata is osx only, fix the function signature
This commit is contained in:
parent
019f429ee9
commit
3d5c968b20
@ -2479,6 +2479,9 @@ extern {
|
||||
pub fn renameatx_np(fromfd: ::c_int, from: *const ::c_char,
|
||||
tofd: ::c_int, to: *const ::c_char,
|
||||
flags: ::c_uint) -> ::c_int;
|
||||
pub fn exchangedata(path1: *const ::c_char,
|
||||
path2: *const ::c_char,
|
||||
options: ::c_long) -> ::c_int;
|
||||
pub fn fremovexattr(filedes: ::c_int, name: *const ::c_char,
|
||||
flags: ::c_int) -> ::c_int;
|
||||
|
||||
|
@ -401,9 +401,6 @@ extern {
|
||||
pub fn getpeereid(socket: ::c_int,
|
||||
euid: *mut ::uid_t,
|
||||
egid: *mut ::gid_t) -> ::c_int;
|
||||
pub fn exchangedata(path1: *const ::c_char,
|
||||
path2: *const ::c_char,
|
||||
options: ::c_uint) -> ::c_int;
|
||||
|
||||
#[cfg_attr(target_os = "macos", link_name = "glob$INODE64")]
|
||||
#[cfg_attr(target_os = "netbsd", link_name = "__glob30")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user