timespec: use the new TIMESPEC_RESOLUTION in a few more places
authorJim Meyering <meyering@fb.com>
Sat, 21 Sep 2013 16:11:49 +0000 (09:11 -0700)
committerJim Meyering <meyering@fb.com>
Mon, 23 Sep 2013 17:28:53 +0000 (10:28 -0700)
commitaa20227c9f103f44a2a05229aa1bdbd41d387d1e
treeb5a9591720711edeae8261b45a7ea093d484b205
parentcf70364d5980d76c189ce841b5283f5644a017de
timespec: use the new TIMESPEC_RESOLUTION in a few more places

* lib/timespec-add.c (timespec_add): Also replace 999999999
with TIMESPEC_RESOLUTION - 1.
* lib/timespec-sub.c (timespec_sub): Likewise.
ChangeLog
lib/timespec-add.c
lib/timespec-sub.c