diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-25 10:30:36 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-25 12:19:58 +0200 |
commit | 12028b50310e83ffa0cafbca8cfffc222bfd6ac8 (patch) | |
tree | 8219a9ffbedc73626958ca013d1192ce7755cfbd /rt | |
parent | 3fe3f8076e4e0d3f5cd27f85dc0aa76b2f625917 (diff) | |
download | glibc-12028b50310e83ffa0cafbca8cfffc222bfd6ac8.tar.gz glibc-12028b50310e83ffa0cafbca8cfffc222bfd6ac8.tar.xz glibc-12028b50310e83ffa0cafbca8cfffc222bfd6ac8.zip |
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>
Diffstat (limited to 'rt')
-rw-r--r-- | rt/Makefile | 2 | ||||
-rw-r--r-- | rt/Versions | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/rt/Makefile b/rt/Makefile index 5a5e45bfd2..2a6ffec45e 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 0565707456..d38b95b090 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; |