summaryrefslogtreecommitdiff
path: root/src/systime.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-09-10 21:22:05 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-09-10 21:22:54 -0700
commitef93983344e748124ac9bc218700cee14a0df947 (patch)
tree0d76e8c9a0a381082608f445ddc69ec9f7a7e311 /src/systime.h
parentfc389d3a836c11893ac5c5894915e9b8b4868799 (diff)
downloademacs-ef93983344e748124ac9bc218700cee14a0df947.tar.gz
Adjust to TIMESPEC_HZ renaming
Adjust to lib/timespec.h’s renaming of TIMESPEC_RESOLUTION and LOG10_TIMESPEC_RESOLUTION to TIMESPEC_HZ and LOG10_TIMESPEC_HZ. The old names were misnomers. All uses changed.
Diffstat (limited to 'src/systime.h')
-rw-r--r--src/systime.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systime.h b/src/systime.h
index b2f893714b3..ede3d4eb12d 100644
--- a/src/systime.h
+++ b/src/systime.h
@@ -58,8 +58,8 @@ invalid_timespec (void)
}
/* Return true if TIME is a valid timespec. This currently doesn't worry
- about whether tv_nsec is less than TIMESPEC_RESOLUTION; leap seconds
- might cause a problem if it did. */
+ about whether tv_nsec is less than TIMESPEC_HZ; leap seconds might
+ cause a problem if it did. */
INLINE bool
timespec_valid_p (struct timespec t)
{