aboutsummaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
Diffstat (limited to 'rt')
-rw-r--r--rt/Makefile2
-rw-r--r--rt/Versions8
2 files changed, 9 insertions, 1 deletions
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;