diff options
Diffstat (limited to 'malloc/thread-freeres.c')
-rw-r--r-- | malloc/thread-freeres.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/malloc/thread-freeres.c b/malloc/thread-freeres.c index cbb99f8bb4..416d199afd 100644 --- a/malloc/thread-freeres.c +++ b/malloc/thread-freeres.c @@ -16,18 +16,15 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ -#include <dlfcn/dlerror.h> #include <libc-internal.h> #include <malloc-internal.h> -#include <resolv/resolv-internal.h> -#include <rpc/rpc.h> -#include <string.h> -#include <tls-internal.h> +#include <set-freeres.h> #include <shlib-compat.h> +#include <tls-internal.h> /* Thread shutdown function. Note that this function must be called for threads during shutdown for correctness reasons. Unlike - __libc_subfreeres, skipping calls to it is not a valid optimization. + __libc_freeres, skipping calls to it is not a valid optimization. This is called directly from pthread_create as the thread exits. */ void __libc_thread_freeres (void) |