Skip to content

Commit

Permalink
Auto merge of #1549 - GrayJack:solaris-settime, r=gnzlbg
Browse files Browse the repository at this point in the history
Add settimeofday for solaris/illumos

Closes #1547
  • Loading branch information
bors committed Oct 17, 2019
2 parents bc5c15e + fb06358 commit bf877ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/solarish/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1889,6 +1889,7 @@ extern "C" {
pub fn srand(seed: ::c_uint);

pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::c_void) -> ::c_int;
pub fn settimeofday(tp: *const ::timeval, tz: *const ::c_void) -> ::c_int;
pub fn getifaddrs(ifap: *mut *mut ::ifaddrs) -> ::c_int;
pub fn freeifaddrs(ifa: *mut ::ifaddrs);

Expand Down

0 comments on commit bf877ba

Please sign in to comment.