* time/tzset.c (__tzname, __daylight, __timezone): Don't check HAVE_W...
authorBrendan Kehoe <brendan@zen.org>
Wed, 19 Apr 1995 23:41:29 +0000 (23:41 +0000)
committerBrendan Kehoe <brendan@zen.org>
Wed, 19 Apr 1995 23:41:29 +0000 (23:41 +0000)
Wed Apr 19 18:40:11 1995  Brendan Kehoe  (brendan@zen.org)

* time/tzset.c (__tzname, __daylight, __timezone): Don't check
HAVE_WEAK_SYBMOLS for doing weak_alias.

ChangeLog
time/tzset.c

index c544f00..3fc196e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Apr 19 18:40:11 1995  Brendan Kehoe  (brendan@zen.org)
+
+       * time/tzset.c (__tzname, __daylight, __timezone): Don't check
+       HAVE_WEAK_SYBMOLS for doing weak_alias.
+
 Tue Apr 18 14:00:19 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
        * configure.in (libc_cv_asm_global_directive): New check to define
index 3eac151..ccaffd9 100644 (file)
@@ -36,20 +36,14 @@ extern void EXFUN(__tzfile_default, (char *std AND char *dst AND
                                     long int stdoff AND long int dstoff));
 extern int EXFUN(__tzfile_compute, (time_t, struct tm));
 
-#ifndef        HAVE_WEAK_SYMBOLS
-#define        __tzname        tzname
-#define        __daylight      daylight
-#define        __timezone      timezone
-#else
-weak_alias (__tzname, tzname)
-weak_alias (__daylight, daylight)
-weak_alias (__timezone, timezone)
-#endif
-
 char *__tzname[2] = { (char *) "GMT", (char *) "GMT" };
 int __daylight = 0;
 long int __timezone = 0L;
 
+weak_alias (__tzname, tzname)
+weak_alias (__daylight, daylight)
+weak_alias (__timezone, timezone)
+
 
 #define        min(a, b)       ((a) < (b) ? (a) : (b))
 #define        max(a, b)       ((a) > (b) ? (a) : (b))