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_ntop.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_ntop.c')
-rw-r--r-- | src/lib/libc/net/inet_ntop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/inet_ntop.c b/src/lib/libc/net/inet_ntop.c index 722761e2ed..f44dd08022 100644 --- a/src/lib/libc/net/inet_ntop.c +++ b/src/lib/libc/net/inet_ntop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: inet_ntop.c,v 1.11 2015/01/16 16:48:51 deraadt Exp $ */ | 1 | /* $OpenBSD: inet_ntop.c,v 1.12 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 | * |
@@ -55,6 +55,7 @@ inet_ntop(int af, const void *src, char *dst, socklen_t size) | |||
55 | } | 55 | } |
56 | /* NOTREACHED */ | 56 | /* NOTREACHED */ |
57 | } | 57 | } |
58 | DEF_WEAK(inet_ntop); | ||
58 | 59 | ||
59 | /* const char * | 60 | /* const char * |
60 | * inet_ntop4(src, dst, size) | 61 | * inet_ntop4(src, dst, size) |