summaryrefslogtreecommitdiff
path: root/include/sys/msg.h
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 /include/sys/msg.h
parentfc0cf2852d1c1254a0e6ab25018f02b325eadf43 (diff)
downloadmusl-104d0134419eea7539cb5e0cc0405e5c6c9a0dff.tar.gz
fix incorrect (and conflicting on LP64 archs) types for sysv ipc msgq functions
Diffstat (limited to 'include/sys/msg.h')
-rw-r--r--include/sys/msg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/msg.h b/include/sys/msg.h
index 9fc42bcd..92bd5a00 100644
--- a/include/sys/msg.h
+++ b/include/sys/msg.h
@@ -30,7 +30,7 @@ struct msqid_ds
int msgctl (int, int, struct msqid_ds *);
int msgget (key_t, int);
-int msgrcv (int, void *, size_t, long, int);
+ssize_t msgrcv (int, void *, size_t, long, int);
int msgsnd (int, const void *, size_t, int);
#endif