summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1999-04-28 19:13:35 +0000
committerniklas <niklas@openbsd.org>1999-04-28 19:13:35 +0000
commite455208ca7a5662418fe4053baff76aa1b4df5bd (patch)
treee0fefff8387fee1a3b60e4604ba5d47364a69cdf
parentadd autoconfig_verbose toggling command to boot_config (diff)
downloadwireguard-openbsd-e455208ca7a5662418fe4053baff76aa1b4df5bd.tar.xz
wireguard-openbsd-e455208ca7a5662418fe4053baff76aa1b4df5bd.zip
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 :-)
-rw-r--r--lib/libc/net/gethostnamadr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/net/gethostnamadr.c b/lib/libc/net/gethostnamadr.c
index 6ff456fb0c1..7c4c74a5e98 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.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 <sys/param.h>
@@ -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)