diff options
author | guenther <> | 2015-09-13 21:36:08 +0000 |
---|---|---|
committer | guenther <> | 2015-09-13 21:36:08 +0000 |
commit | c221c5094439136f46f34e398f2908ca9b5bfb1d (patch) | |
tree | 0ae1c47910a09246e8fb5bd1eb051e7bce8f1788 /src/lib/libc/net/inet_pton.c | |
parent | a7d607d4cbefc6bbee8e873a463b687f010e2375 (diff) | |
download | openbsd-c221c5094439136f46f34e398f2908ca9b5bfb1d.tar.gz openbsd-c221c5094439136f46f34e398f2908ca9b5bfb1d.tar.bz2 openbsd-c221c5094439136f46f34e398f2908ca9b5bfb1d.zip |
Wrap <arpa/inet.h> and <arpa/nameser.h> so that calls go direct and the
symbols without underbar prefix are all weak
Diffstat (limited to 'src/lib/libc/net/inet_pton.c')
-rw-r--r-- | src/lib/libc/net/inet_pton.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/inet_pton.c b/src/lib/libc/net/inet_pton.c index f8e299b7b8..5d7148e8e9 100644 --- a/src/lib/libc/net/inet_pton.c +++ b/src/lib/libc/net/inet_pton.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: inet_pton.c,v 1.9 2015/01/16 16:48:51 deraadt Exp $ */ | 1 | /* $OpenBSD: inet_pton.c,v 1.10 2015/09/13 21:36:08 guenther Exp $ */ |
2 | 2 | ||
3 | /* Copyright (c) 1996 by Internet Software Consortium. | 3 | /* Copyright (c) 1996 by Internet Software Consortium. |
4 | * | 4 | * |
@@ -57,6 +57,7 @@ inet_pton(int af, const char *src, void *dst) | |||
57 | } | 57 | } |
58 | /* NOTREACHED */ | 58 | /* NOTREACHED */ |
59 | } | 59 | } |
60 | DEF_WEAK(inet_pton); | ||
60 | 61 | ||
61 | /* int | 62 | /* int |
62 | * inet_pton4(src, dst) | 63 | * inet_pton4(src, dst) |