Get rid of duplicate const declaration specifier warning in tst-resolv-qtypes.c.
Stefan Liebler
stli@linux.vnet.ibm.com
Tue Jan 31 07:39:00 GMT 2017
Hi,
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 one of the two const specifiers.
Ok to commit (after release)?
Bye.
Stefan
ChangeLog:
* resolv/tst-resolv-qtypes.c (domain):
Remove duplicate const qualifier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20170131_tst_resolv_qtypes_const.patch
Type: text/x-patch
Size: 1105 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170131/d77edd89/attachment.bin>
More information about the Libc-alpha
mailing list