summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/inet_network.c
diff options
context:
space:
mode:
authorguenther <>2015-09-13 21:36:08 +0000
committerguenther <>2015-09-13 21:36:08 +0000
commitc221c5094439136f46f34e398f2908ca9b5bfb1d (patch)
tree0ae1c47910a09246e8fb5bd1eb051e7bce8f1788 /src/lib/libc/net/inet_network.c
parenta7d607d4cbefc6bbee8e873a463b687f010e2375 (diff)
downloadopenbsd-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_network.c')
-rw-r--r--src/lib/libc/net/inet_network.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/net/inet_network.c b/src/lib/libc/net/inet_network.c
index ecf554e4f9..ef8f21b280 100644
--- a/src/lib/libc/net/inet_network.c
+++ b/src/lib/libc/net/inet_network.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: inet_network.c,v 1.11 2013/11/25 17:29:19 deraadt Exp $ */ 1/* $OpenBSD: inet_network.c,v 1.12 2015/09/13 21:36:08 guenther Exp $ */
2/* 2/*
3 * Copyright (c) 1983, 1993 3 * Copyright (c) 1983, 1993
4 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -82,3 +82,4 @@ again:
82 } 82 }
83 return (val); 83 return (val);
84} 84}
85DEF_WEAK(inet_network);