1/*	$NetBSD: _inet_pton.c,v 1.3 2005/07/30 15:21:20 christos Exp $	*/
2
3/*
4 * Written by Klaus Klein, September 14, 1999.
5 * Public domain.
6 */
7
8#include <sys/cdefs.h>
9#if defined(LIBC_SCCS) && !defined(lint)
10__RCSID("$NetBSD: _inet_pton.c,v 1.3 2005/07/30 15:21:20 christos Exp $");
11#endif /* LIBC_SCCS and not lint */
12
13#if defined(__indr_reference)
14__indr_reference(_inet_pton, inet_pton)
15#else
16
17#include <sys/types.h>
18#include <netinet/in.h>
19#include <arpa/inet.h>
20
21int	_inet_pton(int, const char *, void *);
22
23int
24inet_pton(int af, const char *src, void *dst)
25{
26
27	return _inet_pton(af, src, dst);
28}
29#endif
30