PATCH: Add __syscall_slong_t and __syscall_ulong_t

H.J. Lu hjl.tools@gmail.com
Thu May 17 03:04:00 GMT 2012


On Wed, May 16, 2012 at 7:41 PM, Carlos O'Donell
<carlos@systemhalted.org> wrote:
> 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.

I checked in this.  Thanks.

-- 
H.J.
--
diff --git a/ChangeLog b/ChangeLog
index e24512d..a52484e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* bits/types.h: Fold copyright years.
+	* bits/typesizes.h: Likewise.
+	* sysdeps/mach/hurd/bits/typesizes.h: Likewise.
+	* sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
+	* sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
+	* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
+	* time/time.h: Likewise.
+
 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>

 	[BZ #208]
diff --git a/bits/types.h b/bits/types.h
index 270b656..6fb31c8 100644
--- a/bits/types.h
+++ b/bits/types.h
@@ -1,6 +1,5 @@
 /* bits/types.h -- definitions of __*_t types underlying *_t types.
-   Copyright (C) 2002, 2003, 2004, 2005, 2007, 2012
-   Free Software Foundation, Inc.
+   Copyright (C) 2002-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.

    The GNU C Library is free software; you can redistribute it and/or
diff --git a/bits/typesizes.h b/bits/typesizes.h
index bdd040b..c254c55 100644
--- a/bits/typesizes.h
+++ b/bits/typesizes.h
@@ -1,6 +1,5 @@
 /* bits/typesizes.h -- underlying types for *_t.  Generic version.
-   Copyright (C) 2002, 2003, 2012
-   Free Software Foundation, Inc.
+   Copyright (C) 2002-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.

    The GNU C Library is free software; you can redistribute it and/or
diff --git a/sysdeps/mach/hurd/bits/typesizes.h
b/sysdeps/mach/hurd/bits/typesizes.h
index 594ea7d..6e697f9 100644
--- a/sysdeps/mach/hurd/bits/typesizes.h
+++ b/sysdeps/mach/hurd/bits/typesizes.h
@@ -1,5 +1,5 @@
 /* bits/typesizes.h -- underlying types for *_t.  Hurd version.
-   Copyright (C) 2002,2003,2012 Free Software Foundation, Inc.
+   Copyright (C) 2002-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.

    The GNU C Library is free software; you can redistribute it and/or
diff --git a/sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
b/sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
index 77b2b3b..4e754db 100644
--- a/sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
+++ b/sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
@@ -1,5 +1,5 @@
 /* bits/typesizes.h -- underlying types for *_t.  FreeBSD version.
-   Copyright (C) 2002, 2003, 2012 Free Software Foundation, Inc.
+   Copyright (C) 2002-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.

    The GNU C Library is free software; you can redistribute it and/or
diff --git a/sysdeps/unix/sysv/linux/s390/bits/typesizes.h
b/sysdeps/unix/sysv/linux/s390/bits/typesizes.h
index 8ac715c..e981474 100644
--- a/sysdeps/unix/sysv/linux/s390/bits/typesizes.h
+++ b/sysdeps/unix/sysv/linux/s390/bits/typesizes.h
@@ -1,5 +1,5 @@
 /* bits/typesizes.h -- underlying types for *_t.  Linux/s390 version.
-   Copyright (C) 2003, 2012 Free Software Foundation, Inc.
+   Copyright (C) 2003-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.

    The GNU C Library is free software; you can redistribute it and/or
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
b/sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
index acb2c41..76d67ef 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
@@ -1,5 +1,5 @@
 /* bits/typesizes.h -- underlying types for *_t.  Linux/SPARC version.
-   Copyright (C) 2002, 2003, 2012 Free Software Foundation, Inc.
+   Copyright (C) 2002-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.

    The GNU C Library is free software; you can redistribute it and/or
diff --git a/time/time.h b/time/time.h
index 6256264..17e580e 100644
--- a/time/time.h
+++ b/time/time.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2003,2006,2009,2011,2012 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.

    The GNU C Library is free software; you can redistribute it and/or



More information about the Libc-alpha mailing list