diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-25 10:42:54 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-25 12:21:12 +0200 |
commit | 903e6f9960f6ad2ee9edd35fff979e2953445e08 (patch) | |
tree | 1e34681a36bc452013132a8893a169c22b4530a6 /include | |
parent | 983f43b57bc347717aca85616cbce731c7494ca3 (diff) | |
download | glibc-903e6f9960f6ad2ee9edd35fff979e2953445e08.zip glibc-903e6f9960f6ad2ee9edd35fff979e2953445e08.tar.gz glibc-903e6f9960f6ad2ee9edd35fff979e2953445e08.tar.bz2 |
Linux: Move mq_receive, mq_timedreceive, __mq_timedreceive_time64 to libc
The symbols were moved using scripts/move-symbol-to-libc.py.
Reviewed-by: Adhemerva Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/mqueue.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/mqueue.h b/include/mqueue.h index 2c40c1e..8243a63 100644 --- a/include/mqueue.h +++ b/include/mqueue.h @@ -1,20 +1,22 @@ #include <rt/mqueue.h> #ifndef _ISOMAC +extern __typeof (mq_timedreceive) __mq_timedreceive __nonnull ((2, 5)); + # if IS_IN (librt) hidden_proto (mq_timedsend) extern __typeof (mq_timedsend) __mq_timedsend __nonnull ((2, 5)); hidden_proto (__mq_timedsend) -hidden_proto (mq_timedreceive) -extern __typeof (mq_timedreceive) __mq_timedreceive __nonnull ((2, 5)); -hidden_proto (__mq_timedreceive) # if !PTHREAD_IN_LIBC hidden_proto (mq_setattr) +hidden_proto (mq_timedreceive) +hidden_proto (__mq_timedreceive) # endif # endif /* IS_IN (librt) */ # if PTHREAD_IN_LIBC libc_hidden_proto (mq_setattr) +libc_hidden_proto (__mq_timedreceive) /* Called from fork so that the new subprocess re-creates the notification thread if necessary. */ @@ -36,6 +38,10 @@ extern ssize_t __mq_timedreceive_time64 (mqd_t mqdes, unsigned int *__restrict msg_prio, const struct __timespec64 *__restrict abs_timeout); +# if PTHREAD_IN_LIBC +libc_hidden_proto (__mq_timedreceive_time64) +# else librt_hidden_proto (__mq_timedreceive_time64) +# endif #endif #endif |