Skip to content

Commit

Permalink
Merge pull request rust-lang#5 from ok32/bug/macos-accept4
Browse files Browse the repository at this point in the history
Make macos/ios version of accept4 function public
  • Loading branch information
wycats committed Oct 10, 2014
2 parents 4dd5e95 + f392d9a commit 7e17314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ pub fn accept4(sockfd: Fd, flags: SockFlag) -> SysResult<Fd> {
}

#[cfg(any(target_os = "macos", target_os = "ios"))]
fn accept4(sockfd: Fd, flags: SockFlag) -> SysResult<Fd> {
pub fn accept4(sockfd: Fd, flags: SockFlag) -> SysResult<Fd> {
accept4_polyfill(sockfd, flags)
}

Expand Down

0 comments on commit 7e17314

Please sign in to comment.