diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-09-10 18:42:25 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-09-10 18:43:46 -0700 |
commit | b021c53fd4dc009a144db2312d195dd925f0e6fd (patch) | |
tree | 4c5a792eecbcf3adfc6fb237bee27451b3b857fe /users.txt | |
parent | 8b55a44258e3a217dec66acb8398e7d00059de4b (diff) | |
download | gnulib-b021c53fd4dc009a144db2312d195dd925f0e6fd.tar.gz |
timespec: fix resolution confusion
In normal usage, clock resolution is given in seconds, but the
code was mistakenly using inverse seconds and calling it
“resolution”. Fix this, partly by renaming two identifiers.
The old names will be kept for a bit, to ease transition.
* lib/timespec.h (TIMESPEC_HZ, LOG10_TIMESPEC_HZ):
New constants, replacing TIMESPEC_RESOLUTION and
LOG10_TIMESPEC_RESOLUTION, which are now obsolescent.
All uses changed.
Diffstat (limited to 'users.txt')
0 files changed, 0 insertions, 0 deletions