summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/res_init.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-10-05 02:57:16 +0000
committerguenther <guenther@openbsd.org>2015-10-05 02:57:16 +0000
commitc8503c07ccb750253efac312844687992be1a829 (patch)
treea9920e81cb853316e12a6cd15ec7352fb065f9a4 /lib/libc/asr/res_init.c
parentWhen the SIA state is declared for a given destination, reset the (diff)
downloadwireguard-openbsd-c8503c07ccb750253efac312844687992be1a829.tar.xz
wireguard-openbsd-c8503c07ccb750253efac312844687992be1a829.zip
Wrap <resolv.h> so that internal calls go direct
ok millert@
Diffstat (limited to 'lib/libc/asr/res_init.c')
-rw-r--r--lib/libc/asr/res_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/asr/res_init.c b/lib/libc/asr/res_init.c
index 130646e01dc..03ed33562b8 100644
--- a/lib/libc/asr/res_init.c
+++ b/lib/libc/asr/res_init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: res_init.c,v 1.5 2015/09/09 15:49:34 deraadt Exp $ */
+/* $OpenBSD: res_init.c,v 1.6 2015/10/05 02:57:16 guenther Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
*
@@ -86,3 +86,4 @@ res_init(void)
return (0);
}
+DEF_WEAK(res_init);