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: PATCH: Add __syscall_slong_t and __syscall_ulong_t


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.


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