diff options
author | David Leonard <d@cvs.openbsd.org> | 2000-01-06 08:24:18 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 2000-01-06 08:24:18 +0000 |
commit | 178b4aa182db4d700014af4a12a243012e4d6fdb (patch) | |
tree | 787035f611866fb75dc6a59408bd6814cd7664d3 /lib/libc/time | |
parent | 855cc0b1ea13c127721cde5d1c4f98c30242f3f0 (diff) |
_THREAD_PRIVATE_* macros changed
Diffstat (limited to 'lib/libc/time')
-rw-r--r-- | lib/libc/time/asctime.c | 4 | ||||
-rw-r--r-- | lib/libc/time/localtime.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/time/asctime.c b/lib/libc/time/asctime.c index cf89f730c7a..15bcb448cac 100644 --- a/lib/libc/time/asctime.c +++ b/lib/libc/time/asctime.c @@ -5,7 +5,7 @@ #if defined(LIBC_SCCS) && !defined(lint) && !defined(NOID) static char elsieid[] = "@(#)asctime.c 7.9"; -static char rcsid[] = "$OpenBSD: asctime.c,v 1.6 1999/01/29 07:09:26 d Exp $"; +static char rcsid[] = "$OpenBSD: asctime.c,v 1.7 2000/01/06 08:24:17 d Exp $"; #endif /* LIBC_SCCS and not lint */ /*LINTLIBRARY*/ @@ -69,7 +69,7 @@ const struct tm * timeptr; { /* asctime_r won't exceed this buffer: */ static char result[26]; - _THREAD_PRIVATE_KEY(asctime) + _THREAD_PRIVATE_KEY(asctime); char *resultp = (char*) _THREAD_PRIVATE(asctime, result, NULL); if (resultp == NULL) diff --git a/lib/libc/time/localtime.c b/lib/libc/time/localtime.c index 7ce35ed6ac1..944b4258699 100644 --- a/lib/libc/time/localtime.c +++ b/lib/libc/time/localtime.c @@ -5,7 +5,7 @@ #if defined(LIBC_SCCS) && !defined(lint) && !defined(NOID) static char elsieid[] = "@(#)localtime.c 7.66"; -static char rcsid[] = "$OpenBSD: localtime.c,v 1.17 1999/03/09 23:06:12 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: localtime.c,v 1.18 2000/01/06 08:24:17 d Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -1069,7 +1069,7 @@ struct tm * localtime(timep) const time_t * const timep; { - _THREAD_PRIVATE_KEY(localtime) + _THREAD_PRIVATE_KEY(localtime); struct tm * p_tm = (struct tm*)_THREAD_PRIVATE(localtime, tm, NULL); if (p_tm == NULL) @@ -1132,7 +1132,7 @@ struct tm * gmtime(timep) const time_t * const timep; { - _THREAD_PRIVATE_KEY(gmtime) + _THREAD_PRIVATE_KEY(gmtime); struct tm * p_tm = (struct tm*) _THREAD_PRIVATE(gmtime, tm, NULL); if (p_tm == NULL) |