summaryrefslogtreecommitdiffstats
path: root/lib/libc/resolv/res_findzonecut.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2006-05-21 11:19:36 +0000
committerume <ume@FreeBSD.org>2006-05-21 11:19:36 +0000
commit2103e7a60f93b5663802fad9b458412411640d7c (patch)
treec1044e7b7cb8c4f2ee0140e9bd313cfdfe850d2a /lib/libc/resolv/res_findzonecut.c
parent0cedd121cc954b5d6234228b0747f25f402fb62e (diff)
downloadFreeBSD-src-2103e7a60f93b5663802fad9b458412411640d7c.zip
FreeBSD-src-2103e7a60f93b5663802fad9b458412411640d7c.tar.gz
Upgrade res_update(3) and the friends to BIND9's one excluding TSIG
support. X-MFC after: never
Diffstat (limited to 'lib/libc/resolv/res_findzonecut.c')
-rw-r--r--lib/libc/resolv/res_findzonecut.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/resolv/res_findzonecut.c b/lib/libc/resolv/res_findzonecut.c
index 804beb6..c6213b3 100644
--- a/lib/libc/resolv/res_findzonecut.c
+++ b/lib/libc/resolv/res_findzonecut.c
@@ -19,6 +19,9 @@ static const char rcsid[] = "$Id: res_findzonecut.c,v 1.2.2.3.4.4 2005/10/11 00:
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/* Import. */
#include "port_before.h"
@@ -149,6 +152,7 @@ static void res_dprintf(const char *, ...) ISC_FORMAT_PRINTF(1, 2);
* keep going. for the NS and A queries this means we just give up.
*/
+#ifndef _LIBC
int
res_findzonecut(res_state statp, const char *dname, ns_class class, int opts,
char *zname, size_t zsize, struct in_addr *addrs, int naddrs)
@@ -173,6 +177,7 @@ res_findzonecut(res_state statp, const char *dname, ns_class class, int opts,
free(u);
return (result);
}
+#endif
int
res_findzonecut2(res_state statp, const char *dname, ns_class class, int opts,
OpenPOWER on IntegriCloud