[PATCH 1/7] Mark lazy tlsdesc helper functions unused to avoid warnings

Szabolcs Nagy szabolcs.nagy@arm.com
Fri Nov 3 14:55:00 GMT 2017


On 03/11/17 14:28, Florian Weimer wrote:
> On 11/03/2017 01:41 PM, Szabolcs Nagy wrote:
>>> I think the preferred syntax is to put the attribute before the return type; after the type, it would apply to
>>> the type, and not the function, and GCC has hacks to support that, but that will only work for some types.
>>>
>> hm.. current uses of unused attribute for the
>> same purpose come after the return type:
> 
> I meant the preferred syntax on the GCC side.  But it was just a suggestion.  For the unused attribute, the
> distinction truly does not matter.
> 

i see.

i committed the patch as is,
we can fix the order later together with other attributes.
(although the plan is to drop this code eventually)



More information about the Libc-alpha mailing list