diff options
author | Sean McKean <smckean83@gmail.com> | 2018-02-02 11:59:31 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2018-02-19 20:39:17 +0000 |
commit | 1b7671f6e19d2f8f71752a25e490337dbbcb1d12 (patch) | |
tree | b0412b0ca8d7313c35dd4bb068455232b8e179c6 | |
parent | 516fa6080481a1433c173320b1c1432868e1e38a (diff) | |
download | glibc-1b7671f6e19d2f8f71752a25e490337dbbcb1d12.tar glibc-1b7671f6e19d2f8f71752a25e490337dbbcb1d12.tar.gz glibc-1b7671f6e19d2f8f71752a25e490337dbbcb1d12.tar.bz2 glibc-1b7671f6e19d2f8f71752a25e490337dbbcb1d12.zip |
time: Reference CLOCKS_PER_SEC in clock comment [BZ #22735]
(cherry picked from commit 09e56b9e18f987105e39768f907db800e9330930)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | time/time.h | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2018-02-02 Sean McKean <smckean83@gmail.com> + + [BZ #22735] + * time/time.h (clock): Reference CLOCKS_PER_SEC in comment. + 2018-02-10 Dmitry V. Levin <ldv@altlinux.org> [BZ #22433] @@ -11,6 +11,7 @@ The following bugs are resolved with this release: [22638] sparc: static binaries are broken if glibc is built by gcc configured with --enable-default-pie + [22735] Misleading typo in time.h source comment regarding CLOCKS_PER_SECOND [22797] Linux: use reserved name __key in pkey_get [22827] RISC-V ELF64 parser mis-reads flag in ldconfig diff --git a/time/time.h b/time/time.h index 49d30438f3..4b55e34402 100644 --- a/time/time.h +++ b/time/time.h @@ -68,7 +68,7 @@ typedef __pid_t pid_t; __BEGIN_DECLS /* Time used by the program so far (user time + system time). - The result / CLOCKS_PER_SECOND is program time in seconds. */ + The result / CLOCKS_PER_SEC is program time in seconds. */ extern clock_t clock (void) __THROW; /* Return the current time and put it in *TIMER if TIMER is not NULL. */ |