diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-06-19 13:15:11 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-06-19 14:24:23 +0200 |
commit | ca3d65ff69d5187cb4d6b7f81d414427c7007e22 (patch) | |
tree | aeedd9e94ac13077f760865a397a89110cf743a0 /resolv | |
parent | 487549c466e1434e812ca8877dd487398bc2df4e (diff) | |
download | glibc-ca3d65ff69d5187cb4d6b7f81d414427c7007e22.zip glibc-ca3d65ff69d5187cb4d6b7f81d414427c7007e22.tar.gz glibc-ca3d65ff69d5187cb4d6b7f81d414427c7007e22.tar.bz2 |
resolv: Make __res_vinit hidden
And remove unnecessary separate declarations.
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/res_init.c | 2 | ||||
-rw-r--r-- | resolv/res_libc.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/resolv/res_init.c b/resolv/res_init.c index 23676e9..57223b4 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 c8f158d..3bf3887 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, |