use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / mq / mq_timedreceive.c
index 099f213..2cef6a8 100644 (file)
@@ -1,7 +1,7 @@
 #include <mqueue.h>
 #include "syscall.h"
 
 #include <mqueue.h>
 #include "syscall.h"
 
-ssize_t mq_timedreceive(mqd_t mqd, char *msg, size_t len, unsigned *prio, const struct timespec *at)
+ssize_t mq_timedreceive(mqd_t mqd, char *restrict msg, size_t len, unsigned *restrict prio, const struct timespec *restrict at)
 {
        return syscall_cp(SYS_mq_timedreceive, mqd, msg, len, prio, at);
 }
 {
        return syscall_cp(SYS_mq_timedreceive, mqd, msg, len, prio, at);
 }