From f392d9a6993d26900c174517d1f4837da210ce59 Mon Sep 17 00:00:00 2001 From: Evgeny Starikov Date: Thu, 9 Oct 2014 18:06:50 +0400 Subject: Make macos/ios version of accept4 function public --- src/sys/socket.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sys/socket.rs') diff --git a/src/sys/socket.rs b/src/sys/socket.rs index 5703cbb5..ed78c54f 100644 --- a/src/sys/socket.rs +++ b/src/sys/socket.rs @@ -243,7 +243,7 @@ pub fn accept4(sockfd: Fd, flags: SockFlag) -> SysResult { } #[cfg(any(target_os = "macos", target_os = "ios"))] -fn accept4(sockfd: Fd, flags: SockFlag) -> SysResult { +pub fn accept4(sockfd: Fd, flags: SockFlag) -> SysResult { accept4_polyfill(sockfd, flags) } -- cgit v1.2.3