about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-08-03 09:51:21 +0000
committerJakub Jelinek <jakub@redhat.com>2007-08-03 09:51:21 +0000
commit754980e49356c5c13f5bbe710afecc612b2db9fc (patch)
treecf5050b82209f11d6da2fe7eed2012247fd850a4
parentcbf0489bcf3eebeeba595a514461057a4e2f1e8b (diff)
downloadglibc-754980e49356c5c13f5bbe710afecc612b2db9fc.tar.gz
glibc-754980e49356c5c13f5bbe710afecc612b2db9fc.tar.xz
glibc-754980e49356c5c13f5bbe710afecc612b2db9fc.zip
* rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument
numbers.
2007-08-03  Jakub Jelinek  <jakub@redhat.com>

	* rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument
	numbers.
-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