This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Use single bits/msq.h for all architectures
- From: Andreas Schwab <schwab at suse dot de>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Thu, 11 Oct 2018 09:50:48 +0200
- Subject: Re: Use single bits/msq.h for all architectures
- References: <alpine.DEB.2.21.1810102115350.4729@digraph.polyomino.org.uk>
On Okt 10 2018, Joseph Myers <joseph@codesourcery.com> wrote:
> +#if __MSQ_PAD_BEFORE_TIME
> +# define __MSQ_PAD_TIME(NAME, RES) \
> + __syscall_ulong_t __glibc_reserved ## RES; __time_t NAME
> +#elif __MSQ_PAD_AFTER_TIME
> +# define __MSQ_PAD_TIME(NAME, RES) \
> + __time_t NAME; __syscall_ulong_t __glibc_reserved ## RES
> +#else
I think that should use unsigned long instead of __syscall_ulong_t,
since it is about matching time_t, and x32 doesn't use padding anyway.
Ok otherwise.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."