]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 13 Sep 2000 21:48:46 +0000 (21:48 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 13 Sep 2000 21:48:46 +0000 (21:48 +0000)
* sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
constant since this is what clock_t is.
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.

ChangeLog
sysdeps/unix/sysv/linux/alpha/bits/time.h
sysdeps/unix/sysv/linux/bits/time.h
sysdeps/unix/sysv/linux/i386/bits/time.h
sysdeps/unix/sysv/linux/ia64/bits/time.h
sysdeps/unix/sysv/linux/s390/bits/time.h

index c4114f8d77897d4b4b354565320153314f33d3a8..b0cb793adb929a5ce15e65cb7bb702f7acca9f34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2000-09-13  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
+       constant since this is what clock_t is.
+       * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
+       * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
+
        * time/time.h: Don't defined clockid_t and timer_t unless POSIX
        definitions are requested.
 
index ed9382bda62780e9887005fad016eb5f4f4664de..a0eddbeecaaded3ee7af1e924f33b386ebdb9c1d 100644 (file)
@@ -31,7 +31,7 @@
 /* CAE XSH, Issue 4, Version 2: <time.h>
    The value of CLOCKS_PER_SEC is required to be 1 million on all
    XSI-conformant systems. */
-#  define CLOCKS_PER_SEC  1000000
+#  define CLOCKS_PER_SEC  1000000l
 
 #  ifndef __STRICT_ANSI__
 /* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
index c5ff93035a8a393ee6442f62759e237c2da4b168..886ebb7bda9dac62f1e865732e044f7f9b3537f9 100644 (file)
@@ -31,7 +31,7 @@
 /* CAE XSH, Issue 4, Version 2: <time.h>
    The value of CLOCKS_PER_SEC is required to be 1 million on all
    XSI-conformant systems. */
-#  define CLOCKS_PER_SEC  1000000
+#  define CLOCKS_PER_SEC  1000000l
 
 #  ifndef __STRICT_ANSI__
 /* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
index 3e515aac478f0ce34ae3899798fa98c5d456dc6d..9a978b934ce624c650c3f4fc0d5d907dc444fffe 100644 (file)
@@ -1,4 +1,4 @@
-/* System-dependent timing definitions.  Linux version.
+/* System-dependent timing definitions.  Linux/x86 version.
    Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -31,7 +31,7 @@
 /* CAE XSH, Issue 4, Version 2: <time.h>
    The value of CLOCKS_PER_SEC is required to be 1 million on all
    XSI-conformant systems. */
-#  define CLOCKS_PER_SEC  1000000
+#  define CLOCKS_PER_SEC  1000000l
 
 #  ifndef __STRICT_ANSI__
 /* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
index f207283211e1cf7b0d6ef3a05345bef01f235813..cb68abb507d97c224832693da906867c3198b019 100644 (file)
@@ -31,7 +31,7 @@
 /* CAE XSH, Issue 4, Version 2: <time.h>
    The value of CLOCKS_PER_SEC is required to be 1 million on all
    XSI-conformant systems. */
-#  define CLOCKS_PER_SEC  1000000
+#  define CLOCKS_PER_SEC  1000000l
 
 #  ifndef __STRICT_ANSI__
 /* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
index 4e06a4b9e98a7e90dee7c25bdf97c14707f35b03..0c6ee385f4dd345a6949214c96aecdfbeb0fc909 100644 (file)
@@ -1,4 +1,4 @@
-/* System-dependent timing definitions.  Linux version.
+/* System-dependent timing definitions.  Linux/S390 version.
    Copyright (C) 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -31,7 +31,7 @@
 /* CAE XSH, Issue 4, Version 2: <time.h>
    The value of CLOCKS_PER_SEC is required to be 1 million on all
    XSI-conformant systems. */
-#  define CLOCKS_PER_SEC  1000000
+#  define CLOCKS_PER_SEC  1000000l
 
 #  ifndef __STRICT_ANSI__
 /* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK