diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-04-13 10:52:27 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-04-13 10:52:42 +0200 |
commit | a7ff1da8239a5f0e1927db9d5310f53cfea97fc2 (patch) | |
tree | 2b3fbfc1903f7c27fe04707103e05b21f18f7304 /resolv/res_debug.c | |
parent | 249dcdb71b79e4c488a46c9027e0014c0bc27044 (diff) | |
download | glibc-a7ff1da8239a5f0e1927db9d5310f53cfea97fc2.zip glibc-a7ff1da8239a5f0e1927db9d5310f53cfea97fc2.tar.gz glibc-a7ff1da8239a5f0e1927db9d5310f53cfea97fc2.tar.bz2 |
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.
Diffstat (limited to 'resolv/res_debug.c')
-rw-r--r-- | resolv/res_debug.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resolv/res_debug.c b/resolv/res_debug.c index 14557dd..e23559b 100644 --- a/resolv/res_debug.c +++ b/resolv/res_debug.c @@ -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; |