mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:13:34 +03:00
curltime: use libcurl time functions in src and tests/server
The curl tool and tests/server used 2 parallel implementations of libcurl's `Curl_now()` and `Curl_timediff()` functions. Make them use the libcurl one. Closes #16653
This commit is contained in:
parent
b1faac8039
commit
436d4a360a
20 changed files with 129 additions and 292 deletions
|
|
@ -87,7 +87,7 @@ const char *sstrerror(int err);
|
|||
/* fopens the test case file */
|
||||
FILE *test2fopen(long testno, const char *logdir);
|
||||
|
||||
#include "timediff.h"
|
||||
#include "timeval.h"
|
||||
|
||||
int wait_ms(timediff_t timeout_ms);
|
||||
curl_off_t our_getpid(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue