* lib/timespec-sub.c: Copy manually from Gnulib.

This commit is contained in:
Paul Eggert 2024-07-10 18:18:07 +02:00
parent a29a385ee5
commit 831539542f

View file

@ -31,7 +31,7 @@ struct timespec
timespec_sub (struct timespec a, struct timespec b)
{
int nsdiff = a.tv_nsec - b.tv_nsec;
bool borrow = nsdiff < 0;
int borrow = nsdiff < 0;
time_t rs;
int rns;
bool v = ckd_sub (&rs, a.tv_sec, b.tv_sec);