summaryrefslogtreecommitdiffstats
path: root/libc/unistd/socketcalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/socketcalls.c')
-rw-r--r--libc/unistd/socketcalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/unistd/socketcalls.c b/libc/unistd/socketcalls.c
index d97abc2..51bdf57 100644
--- a/libc/unistd/socketcalls.c
+++ b/libc/unistd/socketcalls.c
@@ -232,7 +232,7 @@ int getsockopt(int s, int level, int optname, void *optval, socklen_t *optlen)
#endif /* !__NR_getsockopt */
#ifndef __NR_sendmsg
-ssize_t sendmsg (int socket, const struct msghdr *message, unsigned int flags)
+int sendmsg (int socket, const struct msghdr *message, unsigned int flags)
{
unsigned long t[3];
@@ -245,7 +245,7 @@ ssize_t sendmsg (int socket, const struct msghdr *message, unsigned int flags)
#endif /* __NR_sendmsg */
#ifndef __NR_recvmsg
-ssize_t recvmsg(int socket, struct msghdr *message, unsigned int flags)
+int recvmsg(int socket, struct msghdr *message, unsigned int flags)
{
unsigned long t[3];