1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

resolv: Remove internal and unused definitions from <resolv.h>

The RES_F_* constants are only used with the private _res._flags
member.  RES_EXHAUSTIVE is unused.  The removed function
declarations refer to functions not actually exported by glibc,
so they are unusable by applications.
This commit is contained in:
Florian Weimer
2017-04-13 10:52:27 +02:00
parent 249dcdb71b
commit a7ff1da823
6 changed files with 24 additions and 20 deletions

View File

@ -115,6 +115,8 @@
extern const char *_res_sectioncodes[] attribute_hidden;
static const char *p_section(int section, int opcode);
/*
* Print the current options.
*/
@ -512,7 +514,7 @@ libresolv_hidden_def (p_type)
/*
* Return a string for the type.
*/
const char *
static const char *
p_section(int section, int opcode) {
const struct res_sym *symbols;