diff options
author | GrayJack <gr41.j4ck@gmail.com> | 2019-10-13 16:10:47 -0300 |
---|---|---|
committer | GrayJack <gr41.j4ck@gmail.com> | 2019-10-13 16:10:47 -0300 |
commit | f5ff9d9a718ea16a6293db4cccb3051b3324e697 (patch) | |
tree | 087b30b2b627dce548b0ebf62e566b42ace965be | |
parent | b97166f68fdde5f3e9aff74c2943968ffe322788 (diff) | |
download | rust-libc-f5ff9d9a718ea16a6293db4cccb3051b3324e697.tar.gz |
Format settimeofday on openbsd
-rw-r--r-- | src/unix/bsd/netbsdlike/openbsd/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/unix/bsd/netbsdlike/openbsd/mod.rs b/src/unix/bsd/netbsdlike/openbsd/mod.rs index 1e698b4713..6a4bec95ad 100644 --- a/src/unix/bsd/netbsdlike/openbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/openbsd/mod.rs @@ -1374,7 +1374,10 @@ f! { extern "C" { pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::timezone) -> ::c_int; - pub fn settimeofday(tp: *const ::timeval, tz: *const ::timezone) -> ::c_int; + pub fn settimeofday( + tp: *const ::timeval, + tz: *const ::timezone + ) -> ::c_int; pub fn accept4( s: ::c_int, addr: *mut ::sockaddr, |