diff options
author | guenther <> | 2015-09-13 21:36:08 +0000 |
---|---|---|
committer | guenther <> | 2015-09-13 21:36:08 +0000 |
commit | 04476e3178cfe6df05bf48c5efd7194aa15f1153 (patch) | |
tree | 0ae1c47910a09246e8fb5bd1eb051e7bce8f1788 /src/lib/libc/net/inet_ntop.c | |
parent | 43e71042b70c66db0bc3836b932211fba163d549 (diff) | |
download | openbsd-04476e3178cfe6df05bf48c5efd7194aa15f1153.tar.gz openbsd-04476e3178cfe6df05bf48c5efd7194aa15f1153.tar.bz2 openbsd-04476e3178cfe6df05bf48c5efd7194aa15f1153.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) |