summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorniklas <>1999-04-28 19:13:35 +0000
committerniklas <>1999-04-28 19:13:35 +0000
commit226fa66bb3d10435232bfb7ff943b0c9f06a44c2 (patch)
treed5c3a0c7d728a92b2de76def79f294ce2e08a991 /src
parent1a9f14de33156ee64a82848bd86d546e8cee909b (diff)
downloadopenbsd-226fa66bb3d10435232bfb7ff943b0c9f06a44c2.tar.gz
openbsd-226fa66bb3d10435232bfb7ff943b0c9f06a44c2.tar.bz2
openbsd-226fa66bb3d10435232bfb7ff943b0c9f06a44c2.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 :-)
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/net/gethostnamadr.c8
1 files changed, 4 insertions, 4 deletions
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 @@
52 */ 52 */
53 53
54#if defined(LIBC_SCCS) && !defined(lint) 54#if defined(LIBC_SCCS) && !defined(lint)
55static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.31 1998/11/20 11:18:44 d Exp $"; 55static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.32 1999/04/28 19:13:35 niklas Exp $";
56#endif /* LIBC_SCCS and not lint */ 56#endif /* LIBC_SCCS and not lint */
57 57
58#include <sys/param.h> 58#include <sys/param.h>
@@ -425,9 +425,9 @@ getanswer(answer, anslen, qname, qtype)
425 return (NULL); 425 return (NULL);
426} 426}
427 427
428#ifndef notyet 428#ifdef notyet
429/* 429/*
430 * XXX This is an extremely bogus implementations. 430 * XXX This is an extremely bogus implementation.
431 * 431 *
432 * FreeBSD has this interface: 432 * FreeBSD has this interface:
433 * int gethostbyaddr_r(const char *addr, int len, int type, 433 * int gethostbyaddr_r(const char *addr, int len, int type,
@@ -453,7 +453,7 @@ gethostbyname_r(name, hp, buf, buflen, errorp)
453} 453}
454 454
455/* 455/*
456 * XXX This is an extremely bogus implementations. 456 * XXX This is an extremely bogus implementation.
457 */ 457 */
458struct hostent * 458struct hostent *
459gethostbyaddr_r(addr, len, af, he, buf, buflen, errorp) 459gethostbyaddr_r(addr, len, af, he, buf, buflen, errorp)