diff options
author | 2015-09-13 21:36:08 +0000 | |
---|---|---|
committer | 2015-09-13 21:36:08 +0000 | |
commit | b2d13c95892d0a18f20a23fac7e63fa27b549fb5 (patch) | |
tree | 1de3be9acccebb5a243d86cf8a8c09bce927d63a /lib/libc/net/inet_addr.c | |
parent | Another style(9) grenade. (diff) | |
download | wireguard-openbsd-b2d13c95892d0a18f20a23fac7e63fa27b549fb5.tar.xz wireguard-openbsd-b2d13c95892d0a18f20a23fac7e63fa27b549fb5.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 'lib/libc/net/inet_addr.c')
-rw-r--r-- | lib/libc/net/inet_addr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/inet_addr.c b/lib/libc/net/inet_addr.c index 2c9aa3051b6..62d46ad664f 100644 --- a/lib/libc/net/inet_addr.c +++ b/lib/libc/net/inet_addr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet_addr.c,v 1.11 2015/01/16 16:48:51 deraadt Exp $ */ +/* $OpenBSD: inet_addr.c,v 1.12 2015/09/13 21:36:08 guenther Exp $ */ /* * ++Copyright++ 1983, 1990, 1993 @@ -172,3 +172,4 @@ inet_aton(const char *cp, struct in_addr *addr) addr->s_addr = htonl(val); return (1); } +DEF_WEAK(inet_aton); |