diff options
author | GrayJack <gr41.j4ck@gmail.com> | 2019-10-13 15:08:59 -0300 |
---|---|---|
committer | GrayJack <gr41.j4ck@gmail.com> | 2019-10-13 15:08:59 -0300 |
commit | b97166f68fdde5f3e9aff74c2943968ffe322788 (patch) | |
tree | 5c13175a97bc260a99a729657f2be143aa03e522 | |
parent | 3a1b3a7f4cfd1d527dab749b01e93c1876f806e8 (diff) | |
download | rust-libc-b97166f68fdde5f3e9aff74c2943968ffe322788.tar.gz |
Add settimeofday for openbsd
-rw-r--r-- | src/unix/bsd/netbsdlike/openbsd/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/bsd/netbsdlike/openbsd/mod.rs b/src/unix/bsd/netbsdlike/openbsd/mod.rs index d82c3273e6..1e698b4713 100644 --- a/src/unix/bsd/netbsdlike/openbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/openbsd/mod.rs @@ -1374,6 +1374,7 @@ 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 accept4( s: ::c_int, addr: *mut ::sockaddr, |