Skip to content

Commit f5ff9d9

Browse files
committed
Format settimeofday on openbsd
1 parent b97166f commit f5ff9d9

File tree

1 file changed

+4
-1
lines changed
  • src/unix/bsd/netbsdlike/openbsd

1 file changed

+4
-1
lines changed

src/unix/bsd/netbsdlike/openbsd/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,10 @@ f! {
13741374

13751375
extern "C" {
13761376
pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::timezone) -> ::c_int;
1377-
pub fn settimeofday(tp: *const ::timeval, tz: *const ::timezone) -> ::c_int;
1377+
pub fn settimeofday(
1378+
tp: *const ::timeval,
1379+
tz: *const ::timezone
1380+
) -> ::c_int;
13781381
pub fn accept4(
13791382
s: ::c_int,
13801383
addr: *mut ::sockaddr,

0 commit comments

Comments
 (0)