diff options
author | 1998-12-21 07:45:12 +0000 | |
---|---|---|
committer | 1998-12-21 07:45:12 +0000 | |
commit | 11c189d895eecd34dbbc01993b3a8acf37c97821 (patch) | |
tree | c2116b88fff77d1960ce791f6d8f9d14034e02e5 /lib/libpthread | |
parent | dump thread info on PANIC (diff) | |
download | wireguard-openbsd-11c189d895eecd34dbbc01993b3a8acf37c97821.tar.xz wireguard-openbsd-11c189d895eecd34dbbc01993b3a8acf37c97821.zip |
add variable to force linkage
Diffstat (limited to 'lib/libpthread')
-rw-r--r-- | lib/libpthread/uthread/uthread_autoinit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libpthread/uthread/uthread_autoinit.c b/lib/libpthread/uthread/uthread_autoinit.c index 6cebea471ac..0fdf5ca58e9 100644 --- a/lib/libpthread/uthread/uthread_autoinit.c +++ b/lib/libpthread/uthread/uthread_autoinit.c @@ -51,3 +51,8 @@ _thread_init_constructor() } #endif /* GNU C */ +/* + * Dummy symbol referenced by uthread_init.o so this compilation unit + * is always loaded. + */ +int _thread_autoinit_hook = 0; |