diff options
author | pefo <> | 1997-03-15 21:53:50 +0000 |
---|---|---|
committer | pefo <> | 1997-03-15 21:53:50 +0000 |
commit | 9ef5ff680d3f49f6d87e0db802c093c597c4f1c5 (patch) | |
tree | 5153910877cf822f1684cac097ae97d67878a528 | |
parent | 05882f672fb3bf8797e68cc2d68f8406e1cb7b07 (diff) | |
download | openbsd-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.c | 4 |
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) |
35 | static char rcsid[] = "$OpenBSD: sethostent.c,v 1.3 1996/08/19 08:29:53 tholo Exp $"; | 35 | static 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 | |||
56 | endhostent() | 56 | endhostent() |
57 | { | 57 | { |
58 | _res.options &= ~(RES_STAYOPEN | RES_USEVC); | 58 | _res.options &= ~(RES_STAYOPEN | RES_USEVC); |
59 | _res_close(); | 59 | res_close(); |
60 | } | 60 | } |