This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: struct statfs/statfs64 in linux-generic
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Chung-Lin Tang <cltang at codesourcery dot com>
- Cc: Chris Metcalf <cmetcalf at tilera dot com>, "libc-ports at sourceware dot org" <libc-ports at sourceware dot org>, Andrew Pinski <pinskia at gmail dot com>
- Date: Wed, 13 Nov 2013 12:58:45 +0000
- Subject: Re: struct statfs/statfs64 in linux-generic
- Authentication-results: sourceware.org; auth=none
- References: <52774A2F dot 5010505 at codesourcery dot com> <527BF01B dot 9080704 at tilera dot com> <527F42AF dot 8060204 at codesourcery dot com> <Pine dot LNX dot 4 dot 64 dot 1311111746460 dot 18663 at digraph dot polyomino dot org dot uk> <5283357D dot 2050205 at codesourcery dot com>
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.
--
Joseph S. Myers
joseph@codesourcery.com