From 978a6803e25f49460a9519558dbc426c97db6d64 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 25 Mar 2018 00:59:18 +0100 Subject: hurd: Fix calling __pthread_initialize_minimal in shared case * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal): Declare function. --- sysdeps/generic/ldsodefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index d3013f6..e29e9d7 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -1067,11 +1067,11 @@ extern struct link_map * _dl_get_dl_main_map (void) # else # define _dl_relocate_static_pie() # endif +#endif /* Initialization of libpthread for statically linked applications. If libpthread is not linked in, this is an empty function. */ void __pthread_initialize_minimal (void) weak_function; -#endif /* Allocate memory for static TLS block (unless MEM is nonzero) and dtv. */ extern void *_dl_allocate_tls (void *mem); -- cgit v1.1