aboutsummaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/thread/thr_info.c')
-rw-r--r--lib/libthr/thread/thr_info.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_info.c b/lib/libthr/thread/thr_info.c
index d11b488bcc1f..3a3661602693 100644
--- a/lib/libthr/thread/thr_info.c
+++ b/lib/libthr/thread/thr_info.c
@@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
#include "thr_private.h"
__weak_reference(_pthread_set_name_np, pthread_set_name_np);
+__weak_reference(_pthread_set_name_np, pthread_setname_np);
static void
thr_set_name_np(struct pthread *thread, const char *name)
@@ -89,6 +90,7 @@ thr_get_name_np(struct pthread *thread, char *buf, size_t len)
}
__weak_reference(_pthread_get_name_np, pthread_get_name_np);
+__weak_reference(_pthread_get_name_np, pthread_getname_np);
void
_pthread_get_name_np(pthread_t thread, char *buf, size_t len)