summaryrefslogtreecommitdiffstats
path: root/lib/librt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librt')
-rw-r--r--lib/librt/Symbol.map5
-rw-r--r--lib/librt/mq.c3
-rw-r--r--lib/librt/timer.c3
3 files changed, 9 insertions, 2 deletions
diff --git a/lib/librt/Symbol.map b/lib/librt/Symbol.map
index 161bb76..fef3c15 100644
--- a/lib/librt/Symbol.map
+++ b/lib/librt/Symbol.map
@@ -25,6 +25,11 @@ FBSD_1.0 {
timer_getoverrun;
};
+FBSD_1.5 {
+ mq_getfd_np;
+ timer_oshandle_np;
+};
+
FBSDprivate_1.0 {
_aio_read;
_aio_write;
diff --git a/lib/librt/mq.c b/lib/librt/mq.c
index 750e969..513fa72 100644
--- a/lib/librt/mq.c
+++ b/lib/librt/mq.c
@@ -272,8 +272,9 @@ __mq_unlink(const char *path)
return __sys_kmq_unlink(path);
}
+#pragma weak mq_getfd_np
int
-__mq_oshandle(mqd_t mqd)
+mq_getfd_np(mqd_t mqd)
{
return (mqd->oshandle);
diff --git a/lib/librt/timer.c b/lib/librt/timer.c
index 90269c2..b5f775c 100644
--- a/lib/librt/timer.c
+++ b/lib/librt/timer.c
@@ -175,8 +175,9 @@ __timer_settime(timer_t timerid, int flags,
flags, value, ovalue);
}
+#pragma weak timer_oshandle_np
int
-__timer_oshandle(timer_t timerid)
+timer_oshandle_np(timer_t timerid)
{
return (timerid->oshandle);
OpenPOWER on IntegriCloud