PATCH: Add __syscall_slong_t and __syscall_ulong_t

Paul Eggert eggert@cs.ucla.edu
Tue May 15 05:02:00 GMT 2012


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.



More information about the Libc-alpha mailing list