From 12028b50310e83ffa0cafbca8cfffc222bfd6ac8 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 25 Jun 2021 10:30:36 +0200 Subject: Linux: Move mq_close from librt to libc The symbol was moved using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerva Zanella --- rt/Makefile | 2 +- rt/Versions | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'rt') diff --git a/rt/Makefile b/rt/Makefile index 5a5e45b..2a6ffec 100644 --- a/rt/Makefile +++ b/rt/Makefile @@ -30,7 +30,6 @@ routines = \ librt-routines = \ librt-compat \ - mq_close \ mq_getattr \ mq_notify \ mq_open \ @@ -63,6 +62,7 @@ $(librt-routines-var) += \ aio_write64 \ lio_listio \ lio_listio64 \ + mq_close \ tests := tst-shm tst-timer tst-timer2 \ tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6 \ diff --git a/rt/Versions b/rt/Versions index 0565707..d38b95b 100644 --- a/rt/Versions +++ b/rt/Versions @@ -24,6 +24,11 @@ libc { shm_open; shm_unlink; } + GLIBC_2.3.4 { +%if PTHREAD_IN_LIBC + mq_close; +%endif + } GLIBC_2.4 { %if PTHREAD_IN_LIBC lio_listio; @@ -49,6 +54,7 @@ libc { aio_write64; lio_listio; lio_listio64; + mq_close; %endif shm_open; shm_unlink; @@ -99,7 +105,9 @@ librt { timer_settime; } GLIBC_2.3.4 { +%if !PTHREAD_IN_LIBC mq_close; +%endif mq_getattr; mq_notify; mq_open; -- cgit v1.1