mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 06:10:06 +00:00
resolv: Make _res_opcodes a compat symbol [BZ #31764]
_res_opcodes was exported by accident as a variable. Fix BZ #31764 by making _res_opcodes a compat symbol. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Sunil K Pandey <skpgkp2@gmail.com>
This commit is contained in:
parent
8428278b5f
commit
4b30c644d2
@ -141,6 +141,7 @@ static const char res_opcodes[][9] =
|
||||
};
|
||||
#if SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_26)
|
||||
strong_alias (res_opcodes, _res_opcodes)
|
||||
compat_symbol (libresolv, _res_opcodes, _res_opcodes, GLIBC_2_0);
|
||||
#endif
|
||||
|
||||
static const char *p_section(int section, int opcode);
|
||||
|
Loading…
Reference in New Issue
Block a user