diff options
author | Austin Foxley <austinf@cetoncorp.com> | 2009-11-22 11:27:24 -0800 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-11-22 11:27:24 -0800 |
commit | 8049fc4a43a7b69501d34e0d53a2a779ddcd792b (patch) | |
tree | 47a928646aacf3f3177f8fba2685641b3d53d532 /libc | |
parent | 87a280d3e480d9c7dccd19e2984b1f9e576e69d7 (diff) | |
download | uClibc-alpine-8049fc4a43a7b69501d34e0d53a2a779ddcd792b.tar.bz2 uClibc-alpine-8049fc4a43a7b69501d34e0d53a2a779ddcd792b.tar.xz |
msgrcv is of type ssize_t
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Conflicts:
libc/misc/sysvipc/msgq.c
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/misc/sysvipc/msgq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/sysvipc/msgq.c b/libc/misc/sysvipc/msgq.c index d67645a4d..e20e3ca64 100644 --- a/libc/misc/sysvipc/msgq.c +++ b/libc/misc/sysvipc/msgq.c @@ -49,10 +49,10 @@ struct new_msg_buf{ #ifdef L_msgrcv #ifdef __NR_msgrcv #define __NR___syscall_msgrcv __NR_msgrcv -static inline _syscall5(int, __syscall_msgrcv, int, msqid, void *, msgp, +static inline _syscall5(ssize_t, __syscall_msgrcv, int, msqid, void *, msgp, size_t, msgsz, long int, msgtyp, int, msgflg) #endif -static inline int do_msgrcv (int msqid, void *msgp, size_t msgsz, +static inline ssize_t do_msgrcv (int msqid, void *msgp, size_t msgsz, long int msgtyp, int msgflg) { #ifdef __NR_msgrcv |