about summary refs log tree commit diff
path: root/rt/mq_timedreceive.c
diff options
context:
space:
mode:
Diffstat (limited to 'rt/mq_timedreceive.c')
-rw-r--r--rt/mq_timedreceive.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/rt/mq_timedreceive.c b/rt/mq_timedreceive.c
index b6c1d2a5e1..c476c68696 100644
--- a/rt/mq_timedreceive.c
+++ b/rt/mq_timedreceive.c
@@ -21,12 +21,14 @@
 /* Receive the oldest from highest priority messages in message queue
    MQDES, stop waiting if ABS_TIMEOUT expires.  */
 ssize_t
-mq_timedreceive (mqd_t mqdes, char *__restrict msg_ptr, size_t msg_len,
+__mq_timedreceive (mqd_t mqdes, char *__restrict msg_ptr, size_t msg_len,
 		 unsigned int *__restrict msg_prio,
 		 const struct timespec *__restrict abs_timeout)
 {
   __set_errno (ENOSYS);
   return -1;
 }
-hidden_def (mq_timedreceive)
+hidden_def (__mq_timedreceive)
+weak_alias (__mq_timedreceive, mq_timedreceive)
+hidden_weak (mq_timedreceive)
 stub_warning (mq_timedreceive)