diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-13 21:36:09 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-13 21:36:09 +0000 |
commit | c33d34329db6614f930c96255e4ef3c218d93773 (patch) | |
tree | 5e58f244ecd2225625519b2b308c895fbe64ca51 /lib/libc/net/inet_network.c | |
parent | 89c90bf5f6dd782d0f6c150e44862fb0c7b70c6b (diff) |
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); |