aboutsummaryrefslogtreecommitdiff
path: root/time/tzset.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tzset.c')
-rw-r--r--time/tzset.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/time/tzset.c b/time/tzset.c
index c9a9783..0294058 100644
--- a/time/tzset.c
+++ b/time/tzset.c
@@ -624,8 +624,7 @@ __tz_convert (const time_t *timer, int use_localtime, struct tm *tp)
}
-static void
-free_mem (void)
+libc_freeres_fn (free_mem)
{
while (tzstring_list != NULL)
{
@@ -637,4 +636,3 @@ free_mem (void)
free (old_tz);
old_tz = NULL;
}
-text_set_element (__libc_subfreeres, free_mem);