From f5ff9d9a718ea16a6293db4cccb3051b3324e697 Mon Sep 17 00:00:00 2001 From: GrayJack Date: Sun, 13 Oct 2019 16:10:47 -0300 Subject: Format settimeofday on openbsd --- src/unix/bsd/netbsdlike/openbsd/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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, -- cgit v1.2.1