summaryrefslogtreecommitdiff
path: root/libs/binder/OS.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/OS.h')
-rw-r--r--libs/binder/OS.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/binder/OS.h b/libs/binder/OS.h
index 0d38968ade..fecae31763 100644
--- a/libs/binder/OS.h
+++ b/libs/binder/OS.h
@@ -33,11 +33,11 @@ status_t dupFileDescriptor(int oldFd, int* newFd);
std::unique_ptr<RpcTransportCtxFactory> makeDefaultRpcTransportCtxFactory();
-int sendMessageOnSocket(
+ssize_t sendMessageOnSocket(
const RpcTransportFd& socket, iovec* iovs, int niovs,
const std::vector<std::variant<base::unique_fd, base::borrowed_fd>>* ancillaryFds);
-int receiveMessageFromSocket(
+ssize_t receiveMessageFromSocket(
const RpcTransportFd& socket, iovec* iovs, int niovs,
std::vector<std::variant<base::unique_fd, base::borrowed_fd>>* ancillaryFds);