This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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: struct statfs/statfs64 in linux-generic


On Thu, 14 Nov 2013, Chung-Lin Tang wrote:

> On 13/11/13 8:58 PM, Joseph S. Myers wrote:
> > On Wed, 13 Nov 2013, Chung-Lin Tang wrote:
> > 
> >> 	(struct statfs): Use __alignof__(__u64) in alignment attribute
> >> 	instead of 8.
> >> 	(struct statfs64): Likewise.
> > 
> > I don't like the use of __u64 here - that's a kernel type, not a glibc 
> > one, and glibc headers shouldn't be using it.
> > 
> 
> Sure, how about __U64_TYPE? This seems in line with using __SWORD_TYPE
> from <bits/types.h>

That seems reasonable to me (though it's Chris you need to reach agreement 
with).

-- 
Joseph S. Myers
joseph@codesourcery.com


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