This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Add __syscall_slong_t and __syscall_ulong_t
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Paul Eggert <eggert at cs dot ucla dot edu>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 15 May 2012 05:13:42 -0700
- Subject: Re: PATCH: Add __syscall_slong_t and __syscall_ulong_t
- References: <20120412012017.GA27647@intel.com><4FB1E342.3040409@cs.ucla.edu>
On Mon, May 14, 2012 at 10:01 PM, Paul Eggert <eggert@cs.ucla.edu> wrote:
> On 04/11/2012 06:20 PM, H.J. Lu wrote:
>> ?#define __SNSECONDS_T_TYPE ? __SLONGWORD_TYPE
>> +#define __SYSCALL_SLONG_TYPE __SLONGWORD_TYPE
>
> Since __SYSCALL_SLONG_TYPE is always
> the same as __SNSECONDS_T_TYPE, how about if we
> remove __SNSECONDS_T_TYPE and replace all its
> occurrences with __SYSCALL_SLONG_TYPE?
> Surely it'd be cleaner to use __SYSCALL_SLONG_TYPE
> everywhere this situation comes up, than to have a
> special case just for struct timespec.
This works for me. Should I make the change?
Thanks.
--
H.J.