summaryrefslogtreecommitdiffstats
path: root/libc/unistd
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2009-10-14 08:18:23 -0700
committerJean-Baptiste Queru <jbq@google.com>2009-10-14 08:18:23 -0700
commit73981476a389847e8537cca37503c43e107fadc9 (patch)
treea60ed9cc386c36ef6937974e0a729c5d429c57b5 /libc/unistd
parent60c221ccfaf67bdd9cadfd151d0bad9d3f8482ce (diff)
parent4e30c09e57a0351daff70f6657794569445be21c (diff)
downloadbionic-73981476a389847e8537cca37503c43e107fadc9.zip
bionic-73981476a389847e8537cca37503c43e107fadc9.tar.gz
bionic-73981476a389847e8537cca37503c43e107fadc9.tar.bz2
merge from open-source master
Diffstat (limited to 'libc/unistd')
-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];