* lib/timespec-sub.c: Copy manually from Gnulib.
This commit is contained in:
parent
a29a385ee5
commit
831539542f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue