diff options
author | Stefan Liebler <stli@linux.vnet.ibm.com> | 2017-02-24 13:30:13 +0100 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-06-30 09:43:17 -0700 |
commit | dd3a46ce6722d29ea1a19bd8629a98b26d606ab7 (patch) | |
tree | 19f537f9973b75e31c6b38b846e42862a8f60211 /sysdeps/unix/sysv/linux/tile/dl-static.c | |
parent | deaa1d0668b929692cfb4e33fbd1c0e9cac17305 (diff) | |
download | glibc-dd3a46ce6722d29ea1a19bd8629a98b26d606ab7.tar.gz glibc-dd3a46ce6722d29ea1a19bd8629a98b26d606ab7.tar.xz glibc-dd3a46ce6722d29ea1a19bd8629a98b26d606ab7.zip |
Get rid of duplicate const declaration specifier warning in tst-resolv-qtypes.c.
Compiling resolv/tst-resolv-qtypes.c with GCC 7 results in: tst-resolv-qtypes.c:53:14: error: duplicate ‘const’ declaration specifier [-Werror=duplicate-decl-specifier] static const const char *domain = "www.example.com"; This patch removes the duplicate const and makes domain a const pointer to const char literal. ChangeLog: * resolv/tst-resolv-qtypes.c (domain): Change type to const pointer to const char. (cherry picked from commit d4f94368a96541db2b38b6535402a941f5aff975)
Diffstat (limited to 'sysdeps/unix/sysv/linux/tile/dl-static.c')
0 files changed, 0 insertions, 0 deletions