From 226fa66bb3d10435232bfb7ff943b0c9f06a44c2 Mon Sep 17 00:00:00 2001 From: niklas <> Date: Wed, 28 Apr 1999 19:13:35 +0000 Subject: Do not provide gethostby.*_r for now, as configure scripts find the functions using nm(1), but then no prototypes exist and things break. d@ will contemplate over the issue and resolve it for real later :-) --- src/lib/libc/net/gethostnamadr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/lib/libc/net/gethostnamadr.c b/src/lib/libc/net/gethostnamadr.c index 6ff456fb0c..7c4c74a5e9 100644 --- a/src/lib/libc/net/gethostnamadr.c +++ b/src/lib/libc/net/gethostnamadr.c @@ -52,7 +52,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.31 1998/11/20 11:18:44 d Exp $"; +static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.32 1999/04/28 19:13:35 niklas Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -425,9 +425,9 @@ getanswer(answer, anslen, qname, qtype) return (NULL); } -#ifndef notyet +#ifdef notyet /* - * XXX This is an extremely bogus implementations. + * XXX This is an extremely bogus implementation. * * FreeBSD has this interface: * int gethostbyaddr_r(const char *addr, int len, int type, @@ -453,7 +453,7 @@ gethostbyname_r(name, hp, buf, buflen, errorp) } /* - * XXX This is an extremely bogus implementations. + * XXX This is an extremely bogus implementation. */ struct hostent * gethostbyaddr_r(addr, len, af, he, buf, buflen, errorp) -- cgit v1.2.3-55-g6feb