diff options
author | 2017-02-24 13:30:13 +0100 | |
---|---|---|
committer | 2017-02-24 13:30:13 +0100 | |
commit | d4f94368a96541db2b38b6535402a941f5aff975 (patch) | |
tree | 7443cf5be42b4930b3c640d69730414704bd6879 /libio/bits/stdio2.h | |
parent | Run libm tests separately for each function. (diff) | |
download | glibc-d4f94368a96541db2b38b6535402a941f5aff975.tar.xz glibc-d4f94368a96541db2b38b6535402a941f5aff975.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.
Diffstat (limited to 'libio/bits/stdio2.h')
0 files changed, 0 insertions, 0 deletions