1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

resolv: Turn historic name lookup functions into compat symbols

This change also removes the preprocessor-based function renaming.
It also applied to tests in resolv/, which ended up running against
the historic functions.

_endhtent was not part of the ABI because it is not listed in the
resolv/Versions file.
This commit is contained in:
Florian Weimer
2016-12-30 18:43:04 +01:00
parent 769998892d
commit e7eceec0bc
4 changed files with 75 additions and 50 deletions

View File

@ -26,7 +26,6 @@ extern __thread struct __res_state *__resp attribute_tls_model_ie;
extern int __res_vinit (res_state, int);
extern int __res_maybe_init (res_state, int);
extern void _sethtent (int);
extern void _endhtent (void);
extern struct hostent *_gethtent (void);
extern struct hostent *_gethtbyname (const char *__name);
extern struct hostent *_gethtbyname2 (const char *__name, int __af);