1
0
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:
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);