Get rid of duplicate const declaration specifier warning in tst-resolv-qtypes.c.
Florian Weimer
fw@deneb.enyo.de
Thu Sep 7 19:30:00 GMT 2017
* H. J. Lu:
> 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?
I have no objections.
More information about the Libc-alpha
mailing list