1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-02 08:57:19 -04:00

[time] timeval_add -> el_timeval_add

Clash with smb.
This commit is contained in:
Witold Filipczyk 2023-07-01 19:43:03 +02:00
parent d783cf4add
commit f53aa94460
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ timeval_sub(timeval_T *res, timeval_T *older, timeval_T *newer)
/** @relates timeval_T */ /** @relates timeval_T */
timeval_T * timeval_T *
timeval_add(timeval_T *res, timeval_T *base, timeval_T *t) el_timeval_add(timeval_T *res, timeval_T *base, timeval_T *t)
{ {
res->sec = base->sec + t->sec; res->sec = base->sec + t->sec;
res->usec = base->usec + t->usec; res->usec = base->usec + t->usec;

View File

@ -49,7 +49,7 @@ int timeval_is_positive(timeval_T *t);
void timeval_limit_to_zero_or_one(timeval_T *t); void timeval_limit_to_zero_or_one(timeval_T *t);
timeval_T *timeval_now(timeval_T *t); timeval_T *timeval_now(timeval_T *t);
timeval_T *timeval_sub(timeval_T *res, timeval_T *older, timeval_T *newer); timeval_T *timeval_sub(timeval_T *res, timeval_T *older, timeval_T *newer);
timeval_T *timeval_add(timeval_T *res, timeval_T *base, timeval_T *t); timeval_T *el_timeval_add(timeval_T *res, timeval_T *base, timeval_T *t);
int timeval_cmp(timeval_T *t1, timeval_T *t2); int timeval_cmp(timeval_T *t1, timeval_T *t2);
timeval_T *timeval_sub_interval(timeval_T *t, timeval_T *interval); timeval_T *timeval_sub_interval(timeval_T *t, timeval_T *interval);
timeval_T *timeval_add_interval(timeval_T *t, timeval_T *interval); timeval_T *timeval_add_interval(timeval_T *t, timeval_T *interval);