Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libc / resolv / __dn_comp.c
blob38cd735db33b6a7fba664f49e2b1e819b812cc43
1 /* $NetBSD: __dn_comp.c,v 1.4 2005/09/13 01:44:10 christos Exp $ */
3 /*
4 * written by matthew green, 22/04/97.
5 * public domain.
6 */
8 #include <sys/cdefs.h>
9 #if defined(LIBC_SCCS) && !defined(lint)
10 __RCSID("$NetBSD: __dn_comp.c,v 1.4 2005/09/13 01:44:10 christos Exp $");
11 #endif /* LIBC_SCCS and not lint */
13 #if defined(__indr_reference)
14 __indr_reference(__dn_comp,dn_comp)
15 #else
17 #include <sys/types.h>
18 #include <netinet/in.h>
19 #include <resolv.h>
21 /* XXX THIS IS A MESS! SEE <resolv.h> XXX */
23 #undef dn_comp
24 int dn_comp(const char *, u_char *, int, u_char **, u_char **);
26 int
27 dn_comp(const char *exp_dn, u_char *comp_dn, int length, u_char **dnptrs,
28 u_char **lastdnptr)
31 return __dn_comp(exp_dn, comp_dn, length, dnptrs, lastdnptr);
34 #endif