summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
authorTanguy Pruvot <tanguy.pruvot@gmail.com>2011-12-22 19:18:09 +0100
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2012-07-10 20:32:37 +0100
commit5d334706cf8e2bfba5eccefa5d3b18966f8b8038 (patch)
tree9d7c690e056f4029a6a867d1c425db1d28d4188f /libc
parent0864d0055220f6bb7b955d50c6a43c743e2992df (diff)
downloadbionic-5d334706cf8e2bfba5eccefa5d3b18966f8b8038.zip
bionic-5d334706cf8e2bfba5eccefa5d3b18966f8b8038.tar.gz
bionic-5d334706cf8e2bfba5eccefa5d3b18966f8b8038.tar.bz2
Revert "don't hide _nres, necessary for nslookup in busybox."
This reverts commit 0aa56a2ed38e470259b0fcbfc7ba4387149b81db. Fixed in busybox : http://review.cyanogenmod.com/10762 should be reverted to keep aosp compatibility Change-Id: I173f0a5cffd8f39ea70bee30a3490e04bbfabf19
Diffstat (limited to 'libc')
-rw-r--r--libc/netbsd/resolv/res_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/netbsd/resolv/res_state.c b/libc/netbsd/resolv/res_state.c
index 94c62bf..e05846a 100644
--- a/libc/netbsd/resolv/res_state.c
+++ b/libc/netbsd/resolv/res_state.c
@@ -173,6 +173,7 @@ RESET_STATE:
return rt;
}
+__LIBC_HIDDEN__
struct __res_state _nres;
#if 0