diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2017-08-15 07:06:30 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2017-08-15 07:06:30 +0000 |
commit | 0e5c6fde03afa2d4b478ff3489ba8809526b5b5f (patch) | |
tree | b7fecd201e0b87799c60803521eaa352e3aa3637 /lib/libc/thread/rthread_tls.c | |
parent | 1405ff8eafb9a8262e3b0127ea811f27e552cf2e (diff) |
s/DEF_STD/DEF_STRONG/ to match namespace.h differences between librthread
and libc
Diffstat (limited to 'lib/libc/thread/rthread_tls.c')
-rw-r--r-- | lib/libc/thread/rthread_tls.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/thread/rthread_tls.c b/lib/libc/thread/rthread_tls.c index 9178e662291..ba92ca1ff30 100644 --- a/lib/libc/thread/rthread_tls.c +++ b/lib/libc/thread/rthread_tls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rthread_tls.c,v 1.2 2017/08/15 06:38:41 guenther Exp $ */ +/* $OpenBSD: rthread_tls.c,v 1.3 2017/08/15 07:06:29 guenther Exp $ */ /* * Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org> * All Rights Reserved. @@ -56,7 +56,7 @@ pthread_key_create(pthread_key_t *key, void (*destructor)(void*)) return (0); } -DEF_STD(pthread_key_create); +DEF_STRONG(pthread_key_create); int pthread_key_delete(pthread_key_t key) @@ -135,7 +135,7 @@ pthread_getspecific(pthread_key_t key) return (rs->data); } -DEF_STD(pthread_getspecific); +DEF_STRONG(pthread_getspecific); int pthread_setspecific(pthread_key_t key, const void *data) @@ -152,7 +152,7 @@ pthread_setspecific(pthread_key_t key, const void *data) return (0); } -DEF_STD(pthread_setspecific); +DEF_STRONG(pthread_setspecific); void _rthread_tls_destructors(pthread_t thread) |