From 754980e49356c5c13f5bbe710afecc612b2db9fc Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 3 Aug 2007 09:51:21 +0000 Subject: * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument numbers. 2007-08-03 Jakub Jelinek * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument numbers. --- ChangeLog | 5 +++++ rt/mqueue.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 833ece1969..d31fc5a039 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-08-03 Jakub Jelinek + + * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument + numbers. + 2007-08-02 Ulrich Drepper * io/Makefile (aux): Add have_o_cloexec. diff --git a/rt/mqueue.h b/rt/mqueue.h index d8c5e43f64..b811330332 100644 --- a/rt/mqueue.h +++ b/rt/mqueue.h @@ -80,14 +80,14 @@ extern ssize_t mq_timedreceive (mqd_t __mqdes, char *__restrict __msg_ptr, size_t __msg_len, unsigned int *__restrict __msg_prio, __const struct timespec *__restrict __abs_timeout) - __nonnull ((1, 4)); + __nonnull ((2, 5)); /* Add message pointed by MSG_PTR to message queue MQDES, stop blocking on full message queue if ABS_TIMEOUT expires. */ extern int mq_timedsend (mqd_t __mqdes, __const char *__msg_ptr, size_t __msg_len, unsigned int __msg_prio, __const struct timespec *__abs_timeout) - __nonnull ((1, 4)); + __nonnull ((2, 5)); #endif __END_DECLS -- cgit 1.4.1