summary refs log tree commit diff
path: root/resolv/gai_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/gai_misc.c')
-rw-r--r--resolv/gai_misc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/resolv/gai_misc.c b/resolv/gai_misc.c
index b89abf984a..b3334f38ef 100644
--- a/resolv/gai_misc.c
+++ b/resolv/gai_misc.c
@@ -410,9 +410,7 @@ handle_requests (void *arg)
 
 
 /* Free allocated resources.  */
-static void
-__attribute__ ((unused))
-free_res (void)
+libc_freeres_fn (free_res)
 {
   size_t row;
 
@@ -421,4 +419,3 @@ free_res (void)
 
   free (pool);
 }
-text_set_element (__libc_subfreeres, free_res);