add ::timeval to settimeofday

This commit is contained in:
Andrew Salmon 2017-05-27 16:00:06 -07:00
parent 83ba532c10
commit 68eebe3471
4 changed files with 4 additions and 4 deletions

View file

@ -1701,7 +1701,7 @@ extern {
options: ::c_int) -> ::c_int;
pub fn brk(addr: *const ::c_void) -> *mut ::c_void;
pub fn sbrk(increment: ::c_int) -> *mut ::c_void;
pub fn settimeofday(tv: *const timeval, tz: *const ::timezone) -> ::c_int;
pub fn settimeofday(tv: *const ::timeval, tz: *const ::timezone) -> ::c_int;
}
cfg_if! {

View file

@ -1028,7 +1028,7 @@ extern {
nfds: ::nfds_t,
timeout: *const ::timespec,
sigmask: *const sigset_t) -> ::c_int;
pub fn settimeofday(tv: *const timeval, tz: *const ::timezone) -> ::c_int;
pub fn settimeofday(tv: *const ::timeval, tz: *const ::timezone) -> ::c_int;
}
cfg_if! {

View file

@ -720,7 +720,7 @@ extern {
locale: *const ::c_char,
base: ::locale_t) -> ::locale_t;
#[link_name = "__settimeofday50"]
pub fn settimeofday(tv: *const timeval, tz: *const ::c_void) -> ::c_int;
pub fn settimeofday(tv: *const ::timeval, tz: *const ::c_void) -> ::c_int;
}
mod other;

View file

@ -835,7 +835,7 @@ extern {
rqtp: *const ::timespec,
rmtp: *mut ::timespec) -> ::c_int;
pub fn clock_settime(clk_id: clockid_t, tp: *const ::timespec) -> ::c_int;
pub fn settimeofday(tv: *const timeval, tz: *const ::timezone) -> ::c_int;
pub fn settimeofday(tv: *const ::timeval, tz: *const ::timezone) -> ::c_int;
pub fn prctl(option: ::c_int, ...) -> ::c_int;
pub fn pthread_getattr_np(native: ::pthread_t,