aboutsummaryrefslogtreecommitdiff
path: root/time/tzfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tzfile.c')
-rw-r--r--time/tzfile.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/time/tzfile.c b/time/tzfile.c
index 55508c1..9e27eba 100644
--- a/time/tzfile.c
+++ b/time/tzfile.c
@@ -26,6 +26,7 @@
#include <sys/stat.h>
#include <stdint.h>
#include <alloc_buffer.h>
+#include <set-freeres.h>
#include <timezone/tzfile.h>
@@ -50,7 +51,7 @@ struct leap
};
static size_t num_transitions;
-libc_freeres_ptr (static __time64_t *transitions);
+static __time64_t *transitions;
static unsigned char *type_idxs;
static size_t num_types;
static struct ttinfo *types;
@@ -780,3 +781,5 @@ __tzfile_compute (__time64_t timer, int use_localtime,
}
}
}
+
+weak_alias (transitions, __libc_tzfile_freemem_ptr)