summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpefo <>1997-03-15 21:53:50 +0000
committerpefo <>1997-03-15 21:53:50 +0000
commit9ef5ff680d3f49f6d87e0db802c093c597c4f1c5 (patch)
tree5153910877cf822f1684cac097ae97d67878a528
parent05882f672fb3bf8797e68cc2d68f8406e1cb7b07 (diff)
downloadopenbsd-9ef5ff680d3f49f6d87e0db802c093c597c4f1c5.tar.gz
openbsd-9ef5ff680d3f49f6d87e0db802c093c597c4f1c5.tar.bz2
openbsd-9ef5ff680d3f49f6d87e0db802c093c597c4f1c5.zip
res_close is defined in a macro and should apperently not be used as _res_close.
-rw-r--r--src/lib/libc/net/sethostent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/sethostent.c b/src/lib/libc/net/sethostent.c
index 58b50ae0a1..5392a2f11b 100644
--- a/src/lib/libc/net/sethostent.c
+++ b/src/lib/libc/net/sethostent.c
@@ -32,7 +32,7 @@
32 */ 32 */
33 33
34#if defined(LIBC_SCCS) && !defined(lint) 34#if defined(LIBC_SCCS) && !defined(lint)
35static char rcsid[] = "$OpenBSD: sethostent.c,v 1.3 1996/08/19 08:29:53 tholo Exp $"; 35static char rcsid[] = "$OpenBSD: sethostent.c,v 1.4 1997/03/15 21:53:50 pefo Exp $";
36#endif /* LIBC_SCCS and not lint */ 36#endif /* LIBC_SCCS and not lint */
37 37
38#include <sys/param.h> 38#include <sys/param.h>
@@ -56,5 +56,5 @@ void
56endhostent() 56endhostent()
57{ 57{
58 _res.options &= ~(RES_STAYOPEN | RES_USEVC); 58 _res.options &= ~(RES_STAYOPEN | RES_USEVC);
59 _res_close(); 59 res_close();
60} 60}