PATCH: Add __syscall_slong_t and __syscall_ulong_t

H.J. Lu hjl.tools@gmail.com
Tue May 15 12:13:00 GMT 2012


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.



More information about the Libc-alpha mailing list