Get rid of duplicate const declaration specifier warning in tst-resolv-qtypes.c.
H.J. Lu
hjl.tools@gmail.com
Sun Jan 1 00:00:00 GMT 2017
On Thu, Sep 7, 2017 at 10:38 AM, Paul Eggert <eggert@cs.ucla.edu> wrote:
> H.J. Lu wrote:
>>
>> -static const const char *domain = "www.example.com";
>> +static const char * const domain = "www.example.com";
>
>
> Why not:
>
> static const char domain[] = "www.example.com";
>
> instead, before you backport? It's simpler and less confusing.
If we want to do this, it should go into master branch first and
backport it 2.26 branch before putting in 2.25 branch. Should
we do it?
--
H.J.
More information about the Libc-stable
mailing list