summaryrefslogtreecommitdiffstats
path: root/lib/libc/nameser/ns_samedomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/nameser/ns_samedomain.c')
-rw-r--r--lib/libc/nameser/ns_samedomain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/nameser/ns_samedomain.c b/lib/libc/nameser/ns_samedomain.c
index d4ca550..21117d8 100644
--- a/lib/libc/nameser/ns_samedomain.c
+++ b/lib/libc/nameser/ns_samedomain.c
@@ -18,6 +18,8 @@
#ifndef lint
static const char rcsid[] = "$Id: ns_samedomain.c,v 1.1.2.2.4.2 2004/03/16 12:34:17 marka Exp $";
#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "port_before.h"
@@ -28,6 +30,7 @@ static const char rcsid[] = "$Id: ns_samedomain.c,v 1.1.2.2.4.2 2004/03/16 12:34
#include "port_after.h"
+#ifndef _LIBC
/*
* int
* ns_samedomain(a, b)
@@ -149,6 +152,7 @@ int
ns_subdomain(const char *a, const char *b) {
return (ns_samename(a, b) != 1 && ns_samedomain(a, b));
}
+#endif
/*
* int
OpenPOWER on IntegriCloud