This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Get rid of duplicate const declaration specifier warning in tst-resolv-qtypes.c.
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Stefan Liebler <stli at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 31 Jan 2017 11:23:45 +0100
- Subject: Re: Get rid of duplicate const declaration specifier warning in tst-resolv-qtypes.c.
- Authentication-results: sourceware.org; auth=none
- References: <8d30c0c3-0b00-fc08-8e49-811aec114ef9@linux.vnet.ibm.com>
On Jan 31 2017, Stefan Liebler <stli@linux.vnet.ibm.com> wrote:
> static const const char *domain = "www.example.com";
domain should be const.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."