summaryrefslogtreecommitdiff
path: root/lib/libc/asr/res_init.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-10-05 02:57:17 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-10-05 02:57:17 +0000
commitfb448c8683053671dc7a90ca35c39a88b616d508 (patch)
tree492c4c43ec6c5e73af8e53ae717e9996533e68bb /lib/libc/asr/res_init.c
parent2a26a16179c6f1f78ed5298704d0ea56585df541 (diff)
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);