mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Linux: Move mq_close from librt to libc
The symbol was moved using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerva Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@@ -18,11 +18,16 @@
|
||||
#include <errno.h>
|
||||
#include <mqueue.h>
|
||||
#include <sysdep.h>
|
||||
#include <shlib-compat.h>
|
||||
|
||||
/* Removes the association between message queue descriptor MQDES and its
|
||||
message queue. */
|
||||
int
|
||||
mq_close (mqd_t mqdes)
|
||||
__mq_close (mqd_t mqdes)
|
||||
{
|
||||
return INLINE_SYSCALL (close, 1, mqdes);
|
||||
}
|
||||
versioned_symbol (libc, __mq_close, mq_close, GLIBC_2_34);
|
||||
#if OTHER_SHLIB_COMPAT (librt, GLIBC_2_3_4, GLIBC_2_34)
|
||||
compat_symbol (libc, __mq_close, mq_close, GLIBC_2_3_4);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user