Minor code improvement to timespec_subtract example
commit7c1ec1b7d0b476610c811b0babeab831e626c088
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 15 Jun 2024 15:40:41 +0000 (15 08:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 15 Jun 2024 15:53:50 +0000 (15 08:53 -0700)
tree7dc1f3df45f7ca837322ec143436a5ad3e6922b6
parentee768a30fe9099972dad04c49972c2508a208b9b
Minor code improvement to timespec_subtract example

This saves a few instructions.
BORROW cannot be -1, since NSEC_DIFF is at most 999999999.
Idea taken from Gnulib, here:
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=fe33f943054b93af8b965ce6564b8713b0979a21
manual/examples/timespec_subtract.c