mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
* lib/timespec-sub.c: Copy manually from Gnulib.
This commit is contained in:
parent
a29a385ee5
commit
831539542f
@ -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 New Issue
Block a user