about summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
authorBrendan Kehoe <brendan@zen.org>1995-04-19 23:41:29 +0000
committerBrendan Kehoe <brendan@zen.org>1995-04-19 23:41:29 +0000
commit0ac2e7d88be0abf6df9eb5909bfaeb11f70e0c0a (patch)
tree83f40a469974783db758c9bca163998b5d471e71 /time
parent82d00cabd4ffa1adce116b877a482641f99e8ce7 (diff)
downloadglibc-0ac2e7d88be0abf6df9eb5909bfaeb11f70e0c0a.tar.gz
glibc-0ac2e7d88be0abf6df9eb5909bfaeb11f70e0c0a.tar.xz
glibc-0ac2e7d88be0abf6df9eb5909bfaeb11f70e0c0a.zip
* time/tzset.c (__tzname, __daylight, __timezone): Don't check HAVE_WEAK_SYBMOLS for doing weak_alias.
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.
Diffstat (limited to 'time')
-rw-r--r--time/tzset.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/time/tzset.c b/time/tzset.c
index 3eac151f22..ccaffd9c4a 100644
--- a/time/tzset.c
+++ b/time/tzset.c
@@ -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))