aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-06-19 13:15:11 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-06-19 14:24:23 +0200
commitca3d65ff69d5187cb4d6b7f81d414427c7007e22 (patch)
treeaeedd9e94ac13077f760865a397a89110cf743a0 /resolv
parent487549c466e1434e812ca8877dd487398bc2df4e (diff)
downloadglibc-ca3d65ff69d5187cb4d6b7f81d414427c7007e22.tar
glibc-ca3d65ff69d5187cb4d6b7f81d414427c7007e22.tar.gz
glibc-ca3d65ff69d5187cb4d6b7f81d414427c7007e22.tar.bz2
glibc-ca3d65ff69d5187cb4d6b7f81d414427c7007e22.zip
resolv: Make __res_vinit hidden
And remove unnecessary separate declarations.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/res_init.c2
-rw-r--r--resolv/res_libc.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/resolv/res_init.c b/resolv/res_init.c
index 23676e994d..57223b470a 100644
--- a/resolv/res_init.c
+++ b/resolv/res_init.c
@@ -110,8 +110,6 @@ unsigned long long int __res_initstamp attribute_hidden;
*/
int
res_ninit(res_state statp) {
- extern int __res_vinit(res_state, int);
-
return (__res_vinit(statp, 0));
}
libc_hidden_def (__res_ninit)
diff --git a/resolv/res_libc.c b/resolv/res_libc.c
index c8f158d94c..3bf3887b0c 100644
--- a/resolv/res_libc.c
+++ b/resolv/res_libc.c
@@ -41,8 +41,6 @@ __libc_lock_define_initialized (static, lock);
int
res_init(void) {
- extern int __res_vinit(res_state, int);
-
/*
* These three fields used to be statically initialized. This made
* it hard to use this code in a shared library. It is necessary,