resolv: Remove _LIBC_REENTRANT

This commit is contained in:
Florian Weimer 2016-09-13 15:08:37 +02:00
parent 0f9317dcf5
commit fd37b5a78a
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2016-09-13 Florian Weimer <fweimer@redhat.com>
* resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
* malloc/Makefile (tests): Remove individual static test names

View File

@ -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