diff options
-rw-r--r-- | lib/libc/gen/getlogin.c | 6 | ||||
-rw-r--r-- | lib/libc/gen/ttyname.c | 4 | ||||
-rw-r--r-- | lib/libc/net/gethostnamadr.c | 4 | ||||
-rw-r--r-- | lib/libc/net/getservbyname.c | 6 | ||||
-rw-r--r-- | lib/libc/time/asctime.c | 4 | ||||
-rw-r--r-- | lib/libc/time/localtime.c | 6 |
6 files changed, 15 insertions, 15 deletions
diff --git a/lib/libc/gen/getlogin.c b/lib/libc/gen/getlogin.c index b532c406246..ae2a63b778a 100644 --- a/lib/libc/gen/getlogin.c +++ b/lib/libc/gen/getlogin.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: getlogin.c,v 1.4 1998/11/20 11:18:39 d Exp $"; +static char rcsid[] = "$OpenBSD: getlogin.c,v 1.5 2000/01/06 08:24:16 d Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -44,7 +44,7 @@ static char rcsid[] = "$OpenBSD: getlogin.c,v 1.4 1998/11/20 11:18:39 d Exp $"; #include <errno.h> #include "thread_private.h" -_THREAD_PRIVATE_MUTEX(logname) +_THREAD_PRIVATE_MUTEX(logname); static int logname_valid = 0; static char logname[MAXLOGNAME + 1]; @@ -54,7 +54,7 @@ int _setlogin __P((const char *)); char * getlogin() { - _THREAD_PRIVATE_KEY(getlogin) + _THREAD_PRIVATE_KEY(getlogin); char * name = (char *)_THREAD_PRIVATE(getlogin, logname, NULL); if ((errno = getlogin_r(name, sizeof logname)) != 0) diff --git a/lib/libc/gen/ttyname.c b/lib/libc/gen/ttyname.c index a18b68fdd2c..0a1a9208585 100644 --- a/lib/libc/gen/ttyname.c +++ b/lib/libc/gen/ttyname.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: ttyname.c,v 1.6 1998/11/20 11:18:40 d Exp $"; +static char rcsid[] = "$OpenBSD: ttyname.c,v 1.7 2000/01/06 08:24:16 d Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -67,7 +67,7 @@ ttyname_r(int fd, char *buf, size_t buflen) char * ttyname(int fd) { - _THREAD_PRIVATE_KEY(ttyname) + _THREAD_PRIVATE_KEY(ttyname); char * bufp = (char*) _THREAD_PRIVATE(ttyname, buf, NULL); int err; diff --git a/lib/libc/net/gethostnamadr.c b/lib/libc/net/gethostnamadr.c index bdb37292189..47570f4a025 100644 --- a/lib/libc/net/gethostnamadr.c +++ b/lib/libc/net/gethostnamadr.c @@ -52,7 +52,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.40 2000/01/03 11:51:07 itojun Exp $"; +static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.41 2000/01/06 08:24:17 d Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -490,7 +490,7 @@ gethostbyaddr_r(addr, len, af, he, buf, buflen, errorp) /* XXX RFC2133 expects a gethostbyname2_r() -- unimplemented */ #endif -_THREAD_PRIVATE_MUTEX(gethostnamadr) +_THREAD_PRIVATE_MUTEX(gethostnamadr); struct hostent * gethostbyname(name) diff --git a/lib/libc/net/getservbyname.c b/lib/libc/net/getservbyname.c index 7375c894042..16602cc3a65 100644 --- a/lib/libc/net/getservbyname.c +++ b/lib/libc/net/getservbyname.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: getservbyname.c,v 1.4 1998/11/20 11:18:44 d Exp $"; +static char rcsid[] = "$OpenBSD: getservbyname.c,v 1.5 2000/01/06 08:24:17 d Exp $"; #endif /* LIBC_SCCS and not lint */ #include <netdb.h> @@ -41,7 +41,7 @@ static char rcsid[] = "$OpenBSD: getservbyname.c,v 1.4 1998/11/20 11:18:44 d Exp extern int _serv_stayopen; -_THREAD_PRIVATE_MUTEX(getservbyname_r) +_THREAD_PRIVATE_MUTEX(getservbyname_r); struct servent * getservbyname_r(name, proto, se, buf, buflen) @@ -75,7 +75,7 @@ gotname: struct servent *getservbyname(name, proto) const char *name, *proto; { - _THREAD_PRIVATE_KEY(getservbyname) + _THREAD_PRIVATE_KEY(getservbyname); static char buf[4096]; char *bufp = (char*)_THREAD_PRIVATE(getservbyname, buf, NULL); 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) |