summaryrefslogtreecommitdiff
path: root/src/ipc/msgsnd.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-06 00:02:20 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-06 00:02:20 -0400
commit104d0134419eea7539cb5e0cc0405e5c6c9a0dff (patch)
tree8b952e069846b2308961cc28abcbdd5ddf174457 /src/ipc/msgsnd.c
parentfc0cf2852d1c1254a0e6ab25018f02b325eadf43 (diff)
downloadmusl-104d0134419eea7539cb5e0cc0405e5c6c9a0dff.tar.gz
musl-104d0134419eea7539cb5e0cc0405e5c6c9a0dff.tar.bz2
musl-104d0134419eea7539cb5e0cc0405e5c6c9a0dff.tar.xz
musl-104d0134419eea7539cb5e0cc0405e5c6c9a0dff.zip
fix incorrect (and conflicting on LP64 archs) types for sysv ipc msgq functions
Diffstat (limited to 'src/ipc/msgsnd.c')
-rw-r--r--src/ipc/msgsnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/msgsnd.c b/src/ipc/msgsnd.c
index ed05d6b3..26057f2e 100644
--- a/src/ipc/msgsnd.c
+++ b/src/ipc/msgsnd.c
@@ -3,7 +3,7 @@
#include "ipc.h"
#include "libc.h"
-ssize_t msgsnd(int q, const void *m, size_t len, int flag)
+int msgsnd(int q, const void *m, size_t len, int flag)
{
ssize_t r;
CANCELPT_BEGIN;