PATCH: Add __syscall_slong_t and __syscall_ulong_t
Carlos O'Donell
carlos@systemhalted.org
Thu May 17 02:41:00 GMT 2012
On Tue, May 15, 2012 at 9:04 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Tue, May 15, 2012 at 9:41 AM, Roland McGrath <roland@hack.frob.com> wrote:
>> OK, so it's used in public struct types. The change is fine then.
>> I don't care either way about __snseconds_t.
>>
>> Thanks,
>> Roland
>
> I checked it in. I am checking in this patch to remove __snseconds_t.
>
> --
> H.J.
> ----2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
>
> * bits/types.h (__snseconds_t): Removed.
> * time/time.h (struct timespec): Replace __snseconds_t with
> __syscall_slong_t.
> * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
> * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
> Likewise.
> * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
> (__SNSECONDS_T_TYPE): Likewise.
> * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
> (__SNSECONDS_T_TYPE): Likewise.
> * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
> (__SNSECONDS_T_TYPE): Likewise.
>
> diff --git a/bits/types.h b/bits/types.h
> index 34880a9..270b656 100644
> --- a/bits/types.h
> +++ b/bits/types.h
> @@ -1,5 +1,6 @@
> /* bits/types.h -- definitions of __*_t types underlying *_t types.
> - Copyright (C) 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
> + Copyright (C) 2002, 2003, 2004, 2005, 2007, 2012
> + Free Software Foundation, Inc.
Minor nit, fold these down to one line please.
Copyright (C) 2002-2012, Free Software Foundation, Inc.
Cheers,
Carlos.
More information about the Libc-alpha
mailing list