mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user