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: Avoid plain "aligned" attributes in installed headers


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


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