Avoid plain "aligned" attributes in installed headers
Ryan S. Arnold
ryan.arnold@gmail.com
Tue May 15 21:19:00 GMT 2012
On Mon, May 14, 2012 at 2:57 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> Installed headers should always use the forms of attributes with __
> prefixes and suffixes, so __attribute__ ((__aligned__ (8))) instead of
> the plain "aligned" form, to avoid taking identifiers from the user's
> namespace. (This isn't needed if the attribute is already a keyword
> such as "const".)
>
> I propose this patch to fix the instances I found - could the powerpc
> and s390 maintainers review it?
I built and tested this on PowerPC and it's fine, though I don't think
any of the tests in the suite use procfs.h.
Ryan S. Arnold
More information about the Libc-alpha
mailing list