From a752cb670a7bc4e7ee8568ba972056830bab904e Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 25 Jun 2021 10:30:36 +0200 Subject: Linux: Move mq_setattr from librt to libc The symbol was moved using scripts/move-symbol-to-libc.py. To introduce the proper symbol versioning, the implementation of the system call wrapper us moved to a C file. Reviewed-by: Adhemerva Zanella --- include/mqueue.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/mqueue.h b/include/mqueue.h index 98e4596c22..008589f0fa 100644 --- a/include/mqueue.h +++ b/include/mqueue.h @@ -8,8 +8,15 @@ 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) +# endif +# endif /* IS_IN (librt) */ + +# if PTHREAD_IN_LIBC +libc_hidden_proto (mq_setattr) # endif + #include #if __TIMESIZE == 64 # define __mq_timedsend_time64 __mq_timedsend -- cgit 1.4.1