From 249bd833a08e2689e28ff9a094730f0b048a8442 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 11 May 2021 11:08:00 +0200 Subject: nptl: Move pthread_setattr_default_np into libc The symbol was moved using scripts/move-symbol-to-libc.py. The export of __default_pthread_attr_freeres is temporary. There is a minor regression in freeres coverage because in the dynamic case, __default_pthread_attr_freeres is no longer called if libpthread is not linked in. Reviewed-by: Adhemerval Zanella --- nptl/pthreadP.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/pthreadP.h') diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index d9a6137..8466332 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -203,7 +203,7 @@ libc_hidden_proto (__default_pthread_attr) extern int __default_pthread_attr_lock; libc_hidden_proto (__default_pthread_attr_lock) /* Called from __libc_freeres to deallocate the default attribute. */ -extern void __default_pthread_attr_freeres (void) attribute_hidden; +extern void __default_pthread_attr_freeres (void); /* Size and alignment of static TLS block. */ extern size_t __static_tls_size attribute_hidden; -- cgit v1.1