This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] build: don't use attribute((leaf)) on static functions


On 10/02/2013 12:03 PM, Mike Frysinger wrote:
> On Tuesday 01 October 2013 21:38:04 Eric Blake wrote:
>> Remember, attribute((leaf)) makes sense only for extern
>> functions, and as some versions of gcc warn about its use
>> on static functions, using __THROWNL for those will have
>> no change in intended semantics.
> 
> seems worthy of adding to `make check` ?

Indeed - but how do I go about doing that?  It looks like there are a
couple of existing syntax-checker style rules - if I create a new file
scripts/check-*, will it automatically get run by 'make check'?  I'm not
familiar enough with the glibc layout to know where to begin tackling
this.  Help would be appreciated.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]