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
commit04476e3178cfe6df05bf48c5efd7194aa15f1153 (patch)
tree0ae1c47910a09246e8fb5bd1eb051e7bce8f1788 /src/lib/libc/net/inet_network.c
parent43e71042b70c66db0bc3836b932211fba163d549 (diff)
downloadopenbsd-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_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);