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/net | |
parent | 855cc0b1ea13c127721cde5d1c4f98c30242f3f0 (diff) |
_THREAD_PRIVATE_* macros changed
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/gethostnamadr.c | 4 | ||||
-rw-r--r-- | lib/libc/net/getservbyname.c | 6 |
2 files changed, 5 insertions, 5 deletions
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); |