From fd37b5a78ab215ea2599250ec345e25545410bce Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 13 Sep 2016 15:08:37 +0200 Subject: resolv: Remove _LIBC_REENTRANT --- ChangeLog | 4 ++++ resolv/res_init.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b417ee7..8bf7507 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-09-13 Florian Weimer + + * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined. + 2016-09-10 Siddhesh Poyarekar * malloc/Makefile (tests): Remove individual static test names diff --git a/resolv/res_init.c b/resolv/res_init.c index cea4c8a..cfb8188 100644 --- a/resolv/res_init.c +++ b/resolv/res_init.c @@ -542,7 +542,6 @@ res_nclose(res_state statp) } libc_hidden_def (__res_nclose) -#ifdef _LIBC_REENTRANT /* This is called when a thread is exiting to free resources held in _res. */ static void __attribute__ ((section ("__libc_thread_freeres_fn"))) res_thread_freeres (void) @@ -558,4 +557,3 @@ res_thread_freeres (void) } text_set_element (__libc_thread_subfreeres, res_thread_freeres); text_set_element (__libc_subfreeres, res_thread_freeres); -#endif -- cgit v1.1