tools/llvm: Do not build with symbols
[minix3.git] / lib / libc / inet / _inet_pton.c
blob7970272e5d43b1fd2c307f7e45230974de1f2938
1 /* $NetBSD: _inet_pton.c,v 1.4 2005/09/13 01:44:09 christos Exp $ */
3 /*
4 * Written by Klaus Klein, September 14, 1999.
5 * Public domain.
6 */
8 #include <sys/cdefs.h>
9 #if defined(LIBC_SCCS) && !defined(lint)
10 __RCSID("$NetBSD: _inet_pton.c,v 1.4 2005/09/13 01:44:09 christos Exp $");
11 #endif /* LIBC_SCCS and not lint */
13 #if defined(__indr_reference)
14 __indr_reference(_inet_pton, inet_pton)
15 #else
17 #include <sys/types.h>
18 #include <netinet/in.h>
19 #include <arpa/inet.h>
21 int _inet_pton(int, const char *, void *);
23 int
24 inet_pton(int af, const char *src, void *dst)
27 return _inet_pton(af, src, dst);
29 #endif