diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-01-06 04:59:13 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-01-06 04:59:13 -0800 |
commit | 57ada0e7e79b9421a77d2b92dffce0f9e8e087b5 (patch) | |
tree | 194bb1f4abee3c29299c52ae825f6be8f356c43f /NEWS | |
parent | 46abb64d6287d09100b147d062f6810066389b7e (diff) | |
download | glibc-57ada0e7e79b9421a77d2b92dffce0f9e8e087b5.tar glibc-57ada0e7e79b9421a77d2b92dffce0f9e8e087b5.tar.gz glibc-57ada0e7e79b9421a77d2b92dffce0f9e8e087b5.tar.bz2 glibc-57ada0e7e79b9421a77d2b92dffce0f9e8e087b5.zip |
Define CLOCKS_PER_SEC type to the type clock_t
C99 specifies that CLOCKS_PER_SEC is an expression with the type clock_t.
This patch adds a generic <bits/time2.h> to define CLOCKS_PER_SEC and
provides the Linux/x86-64 version of <bits/time2.h> to support x32.
[BZ #17797]
* bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
* sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
* sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
CLOCKS_PER_SEC == 1000000.
* time/clocktest.c (main): Replace %ld with %jd and cast to
intmax_t.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ Version 2.21 17583, 17584, 17585, 17589, 17594, 17601, 17608, 17616, 17625, 17630, 17633, 17634, 17635, 17647, 17653, 17657, 17664, 17665, 17668, 17682, 17717, 17719, 17722, 17723, 17724, 17725, 17732, 17733, 17744, 17745, - 17746, 17747, 17775, 17777, 17780, 17781, 17782, 17793, 17796 + 17746, 17747, 17775, 17777, 17780, 17781, 17782, 17793, 17796, 17797 * i386 memcpy functions optimized with SSE2 unaligned load/store. |