| Index: runtime/bin/socket_android.cc
|
| diff --git a/runtime/bin/socket_android.cc b/runtime/bin/socket_android.cc
|
| index 9f2b933018fd3b9b0caae5c20b59c1ec1ab33f07..a815f9c531d96250ea1d6cf4be2a664698242e67 100644
|
| --- a/runtime/bin/socket_android.cc
|
| +++ b/runtime/bin/socket_android.cc
|
| @@ -311,7 +311,7 @@ intptr_t Socket::CreateBindDatagram(
|
|
|
| if (reuseAddress) {
|
| int optval = 1;
|
| - TEMP_FAILURE_RETRY(
|
| + VOID_TEMP_FAILURE_RETRY(
|
| setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof(optval)));
|
| }
|
|
|
| @@ -364,7 +364,7 @@ intptr_t ServerSocket::CreateBindListen(RawAddr addr,
|
| bind(fd,
|
| &addr.addr,
|
| SocketAddress::GetAddrLength(&addr))) < 0) {
|
| - TEMP_FAILURE_RETRY(close(fd));
|
| + VOID_TEMP_FAILURE_RETRY(close(fd));
|
| return -1;
|
| }
|
|
|
| @@ -380,7 +380,7 @@ intptr_t ServerSocket::CreateBindListen(RawAddr addr,
|
| }
|
|
|
| if (TEMP_FAILURE_RETRY(listen(fd, backlog > 0 ? backlog : SOMAXCONN)) != 0) {
|
| - TEMP_FAILURE_RETRY(close(fd));
|
| + VOID_TEMP_FAILURE_RETRY(close(fd));
|
| return -1;
|
| }
|
|
|
|
|