summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/_pthread_stubs.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-09-19 01:09:49 +0000
committeralfred <alfred@FreeBSD.org>2002-09-19 01:09:49 +0000
commitde55ee9753fd60d22c1a015296639a8d3ea0a7ab (patch)
treea799203e0b387f66b4e4236cc28f1032444b825e /lib/libc/gen/_pthread_stubs.c
parent805701454f32b38eef70685a2496492e742f9074 (diff)
downloadFreeBSD-src-de55ee9753fd60d22c1a015296639a8d3ea0a7ab.zip
FreeBSD-src-de55ee9753fd60d22c1a015296639a8d3ea0a7ab.tar.gz
add a stub for pthread_cond_destroy.
Diffstat (limited to 'lib/libc/gen/_pthread_stubs.c')
-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