summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/_pthread_stubs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/gen/_pthread_stubs.c b/lib/libc/gen/_pthread_stubs.c
index 5935d58..18669b6 100644
--- a/lib/libc/gen/_pthread_stubs.c
+++ b/lib/libc/gen/_pthread_stubs.c
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
__weak_reference(_pthread_cond_init_stub, _pthread_cond_init);
__weak_reference(_pthread_cond_signal_stub, _pthread_cond_signal);
__weak_reference(_pthread_cond_wait_stub, _pthread_cond_wait);
+__weak_reference(_pthread_cond_destroy_stub, _pthread_cond_destroy);
__weak_reference(_pthread_getspecific_stub, _pthread_getspecific);
__weak_reference(_pthread_key_create_stub, _pthread_key_create);
__weak_reference(_pthread_key_delete_stub, _pthread_key_delete);
@@ -91,6 +92,12 @@ _pthread_cond_wait_stub(pthread_cond_t *cond, pthread_mutex_t *mutex)
return (0);
}
+int
+_pthread_cond_destroy_stub(pthread_cond_t *cond)
+{
+ return (0);
+}
+
void *
_pthread_getspecific_stub(pthread_key_t key)
{
OpenPOWER on IntegriCloud