aboutsummaryrefslogtreecommitdiffstats
path: root/intl/finddomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/finddomain.c')
-rw-r--r--intl/finddomain.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/intl/finddomain.c b/intl/finddomain.c
index 2f103d55..d2427644 100644
--- a/intl/finddomain.c
+++ b/intl/finddomain.c
@@ -178,8 +178,7 @@ _nl_find_domain (dirname, locale, domainname, domainbinding)
#ifdef _LIBC
-static void __attribute__ ((unused))
-free_mem (void)
+libc_freeres_fn (free_mem)
{
struct loaded_l10nfile *runp = _nl_loaded_domains;
@@ -193,6 +192,4 @@ free_mem (void)
free (here);
}
}
-
-text_set_element (__libc_subfreeres, free_mem);
#endif