summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2006-03-06 18:37:53 +0000
committerotto <otto@openbsd.org>2006-03-06 18:37:53 +0000
commitdf74d742af2befde28f9df55cce6cfa58ba608c0 (patch)
tree4d7bebbd8dfbeac0a01fe70ea8b4e3303150fbbd /lib/libpthread/uthread
parentopen(2) returns -1 on error, not NULL (diff)
downloadwireguard-openbsd-df74d742af2befde28f9df55cce6cfa58ba608c0.tar.xz
wireguard-openbsd-df74d742af2befde28f9df55cce6cfa58ba608c0.zip
Add _thread_atexit_lock and _thread_atexit_unlock to the list of
weak functions; ok millert@.
Diffstat (limited to 'lib/libpthread/uthread')
-rw-r--r--lib/libpthread/uthread/uthread_init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpthread/uthread/uthread_init.c b/lib/libpthread/uthread/uthread_init.c
index 69a70e5a22a..c146a71f5e5 100644
--- a/lib/libpthread/uthread/uthread_init.c
+++ b/lib/libpthread/uthread/uthread_init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_init.c,v 1.33 2005/10/30 03:37:34 brad Exp $ */
+/* $OpenBSD: uthread_init.c,v 1.34 2006/03/06 18:37:53 otto Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -134,6 +134,8 @@ static void *references[] = {
&_thread_malloc_init,
&_thread_malloc_lock,
&_thread_malloc_unlock,
+ &_thread_atexit_lock,
+ &_thread_atexit_unlock,
&_thread_tag_lock,
&_thread_tag_unlock,
&_thread_tag_storage,