timespec pointer also const on andriod
This commit is contained in:
parent
a4c25a99e4
commit
d26c2ab8c2
@ -1957,6 +1957,8 @@ extern {
|
||||
pub fn __errno() -> *mut ::c_int;
|
||||
pub fn sendmmsg(sockfd: ::c_int, msgvec: *const ::mmsghdr, vlen: ::c_uint,
|
||||
flags: ::c_int) -> ::c_int;
|
||||
pub fn recvmmsg(sockfd: ::c_int, msgvec: *mut ::mmsghdr, vlen: ::c_uint,
|
||||
flags: ::c_int, timeout: *const ::timespec) -> ::c_int;
|
||||
}
|
||||
|
||||
cfg_if! {
|
||||
|
@ -2079,6 +2079,8 @@ extern {
|
||||
pub fn vhangup() -> ::c_int;
|
||||
pub fn sendmmsg(sockfd: ::c_int, msgvec: *mut ::mmsghdr, vlen: ::c_uint,
|
||||
flags: ::c_int) -> ::c_int;
|
||||
pub fn recvmmsg(sockfd: ::c_int, msgvec: *mut ::mmsghdr, vlen: ::c_uint,
|
||||
flags: ::c_int, timeout: *mut ::timespec) -> ::c_int;
|
||||
pub fn sync();
|
||||
pub fn syscall(num: ::c_long, ...) -> ::c_long;
|
||||
pub fn sched_getaffinity(pid: ::pid_t,
|
||||
|
@ -1378,8 +1378,6 @@ extern {
|
||||
flags: ::c_int) -> ::ssize_t;
|
||||
pub fn recvmsg(fd: ::c_int, msg: *mut ::msghdr, flags: ::c_int)
|
||||
-> ::ssize_t;
|
||||
pub fn recvmmsg(sockfd: ::c_int, msgvec: *mut ::mmsghdr, vlen: ::c_uint,
|
||||
flags: ::c_int, timeout: *mut ::timespec) -> ::c_int;
|
||||
pub fn uname(buf: *mut ::utsname) -> ::c_int;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user