Skip to content
Snippets Groups Projects
Commit 406b01a8 authored by Razican's avatar Razican
Browse files

Fixed targets without the sync() function

parent b993a9bf
No related branches found
No related tags found
No related merge requests found
......@@ -432,6 +432,8 @@ extern {
link_name = "recvmsg$UNIX2003")]
pub fn recvmsg(fd: ::c_int, msg: *mut ::msghdr, flags: ::c_int)
-> ::ssize_t;
pub fn sync();
}
cfg_if! {
......
......@@ -853,8 +853,6 @@ extern {
pub fn posix_openpt(flags: ::c_int) -> ::c_int;
pub fn ptsname(fd: ::c_int) -> *mut ::c_char;
pub fn unlockpt(fd: ::c_int) -> ::c_int;
pub fn sync();
}
cfg_if! {
......
......@@ -1001,6 +1001,7 @@ extern {
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();
}
cfg_if! {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment