summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/mqueue.h
diff options
context:
space:
mode:
authorSahil Patnayakunii <sahilp@rtems.org>2013-07-24 13:08:37 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-07-24 13:14:28 -0500
commitf74a492cf6100806f0cc93f8c4c452af870a0f72 (patch)
tree2ae49fb50efc61619d60a87996cb8ea0c0209eb6 /cpukit/posix/include/mqueue.h
parentdoc/user/conf.t: Fix SMP_MAXIMUM_PROCESSORS and add Go configuration (diff)
downloadrtems-f74a492cf6100806f0cc93f8c4c452af870a0f72.tar.bz2
POSIX mqueue.h: Add restrict keyword per Single UNIX Specification
Diffstat (limited to 'cpukit/posix/include/mqueue.h')
-rw-r--r--cpukit/posix/include/mqueue.h10
1 files changed, 5 insertions, 5 deletions
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
);
/*