summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--rt/mqueue.h4
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 <jakub@redhat.com>
+
+ * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument
+ numbers.
+
2007-08-02 Ulrich Drepper <drepper@redhat.com>
* 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