From f74a492cf6100806f0cc93f8c4c452af870a0f72 Mon Sep 17 00:00:00 2001 From: Sahil Patnayakunii Date: Wed, 24 Jul 2013 13:08:37 -0500 Subject: POSIX mqueue.h: Add restrict keyword per Single UNIX Specification --- cpukit/posix/include/mqueue.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cpukit/posix/include/mqueue.h') diff --git a/cpukit/posix/include/mqueue.h b/cpukit/posix/include/mqueue.h index 34a60657a7..5c121e98af 100644 --- a/cpukit/posix/include/mqueue.h +++ b/cpukit/posix/include/mqueue.h @@ -163,10 +163,10 @@ ssize_t mq_receive( ssize_t mq_timedreceive( mqd_t mqdes, - char *msg_ptr, + char *__restrict msg_ptr, size_t msg_len, - unsigned int *msg_prio, - const struct timespec *abstime + unsigned int *__restrict msg_prio, + const struct timespec *__restrict abstime ); #endif /* _POSIX_TIMEOUTS */ @@ -193,8 +193,8 @@ int mq_notify( */ int mq_setattr( mqd_t mqdes, - const struct mq_attr *mqstat, - struct mq_attr *omqstat + const struct mq_attr *__restrict mqstat, + struct mq_attr *__restrict omqstat ); /* -- cgit v1.2.3