diff options
author | 2017-12-05 13:45:31 +0000 | |
---|---|---|
committer | 2017-12-05 13:45:31 +0000 | |
commit | 0afcdeda897cccf53b8f99c1eb030fd52ee9ee99 (patch) | |
tree | ae06143be769a47677266a3ccbc027b7cf3992e0 /lib/libc/include | |
parent | When sending out a proposal we create an SA/SPI for the Child SAs if we (diff) | |
download | wireguard-openbsd-0afcdeda897cccf53b8f99c1eb030fd52ee9ee99.tar.xz wireguard-openbsd-0afcdeda897cccf53b8f99c1eb030fd52ee9ee99.zip |
Implement __cxa_thread_atexit to support C++11 thread_local scope. The
interface is also made available as __cxa_thread_atexit_impl to satisfy the
needs of GNU libstdc++.
ok guenther@, millert@
Diffstat (limited to 'lib/libc/include')
-rw-r--r-- | lib/libc/include/thread_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/include/thread_private.h b/lib/libc/include/thread_private.h index fd530d7dff1..ae8d554a8ab 100644 --- a/lib/libc/include/thread_private.h +++ b/lib/libc/include/thread_private.h @@ -1,4 +1,4 @@ -/* $OpenBSD: thread_private.h,v 1.32 2017/11/04 22:53:57 jca Exp $ */ +/* $OpenBSD: thread_private.h,v 1.33 2017/12/05 13:45:31 kettenis Exp $ */ /* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */ @@ -394,6 +394,7 @@ void _spinunlock(volatile _atomic_lock_t *); void _rthread_debug(int, const char *, ...) __attribute__((__format__ (printf, 2, 3))); pid_t _thread_dofork(pid_t (*_sys_fork)(void)); +void _thread_finalize(void); /* * Threading syscalls not declared in system headers |