about summary refs log tree commit diff
path: root/time/tzset.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tzset.c')
-rw-r--r--time/tzset.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/time/tzset.c b/time/tzset.c
index a4fa8e358b..8323c7be6d 100644
--- a/time/tzset.c
+++ b/time/tzset.c
@@ -490,9 +490,12 @@ DEFUN(__tz_compute, (timer, tm),
 __libc_lock_define (, __tzset_lock)
 
 /* Reinterpret the TZ environment variable and set `tzname'.  */
+#undef tzset
 
-weak_symbol (tzset)
 void
+#ifdef weak_function
+weak_function
+#endif
 tzset (void)
 {
   __libc_lock_lock (__tzset_lock);