mirror of
https://github.com/curl/curl.git
synced 2026-08-25 03:43:31 +03:00
timediff.[ch]: add curlx helper functions for timeval conversions
Also move timediff_t definitions from timeval.h to timediff.h and then make timeval.h include the new standalone-capable timediff.h. Reviewed-by: Jay Satiro Reviewed-by: Daniel Stenberg Supersedes #5888 Closes #8595
This commit is contained in:
parent
80eb71a3f5
commit
68035af29d
16 changed files with 176 additions and 85 deletions
|
|
@ -31,6 +31,7 @@
|
|||
# the official API, but we re-use the code here to avoid duplication.
|
||||
CURLX_CFILES = \
|
||||
../lib/strtoofft.c \
|
||||
../lib/timediff.c \
|
||||
../lib/nonblock.c \
|
||||
../lib/warnless.c \
|
||||
../lib/curl_ctype.c \
|
||||
|
|
@ -41,6 +42,7 @@ CURLX_CFILES = \
|
|||
CURLX_HFILES = \
|
||||
../lib/curl_setup.h \
|
||||
../lib/strtoofft.h \
|
||||
../lib/timediff.h \
|
||||
../lib/nonblock.h \
|
||||
../lib/warnless.h \
|
||||
../lib/curl_ctype.h \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue