Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
nthery committed Apr 17, 2021
1 parent e74033a commit 524bc1e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/unix/bsd/apple/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3839,23 +3839,19 @@ extern "C" {
// Copy-on-write functions.
// According to the man page `flags` is an `int` but in the header
// this is a `uint32_t`.
pub fn clonefile(
src: *const ::c_char,
dst: *const ::c_char,
flags: u32
) -> ::c_int;
pub fn clonefile(src: *const ::c_char, dst: *const ::c_char, flags: u32) -> ::c_int;
pub fn clonefileat(
src_dirfd: ::c_int,
src: *const ::c_char,
dst_dirfd: ::c_int,
dst: *const ::c_char,
flags: u32
flags: u32,
) -> ::c_int;
pub fn fclonefileat(
srcfd: ::c_int,
dst_dirfd: ::c_int,
dst: *const ::c_char,
flags: u32
flags: u32,
) -> ::c_int;
}

Expand Down

0 comments on commit 524bc1e

Please sign in to comment.