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_network.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_network.c')
-rw-r--r-- | lib/libc/net/inet_network.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/net/inet_network.c b/lib/libc/net/inet_network.c index ecf554e4f9a..ef8f21b2800 100644 --- a/lib/libc/net/inet_network.c +++ b/lib/libc/net/inet_network.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet_network.c,v 1.11 2013/11/25 17:29:19 deraadt Exp $ */ +/* $OpenBSD: inet_network.c,v 1.12 2015/09/13 21:36:08 guenther Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. @@ -82,3 +82,4 @@ again: } return (val); } +DEF_WEAK(inet_network); |