mirror of
https://github.com/curl/curl.git
synced 2026-07-29 01:33:07 +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
|
|
@ -45,6 +45,8 @@ extern FILE *tool_stderr;
|
|||
|
||||
#include <curl/curl.h> /* external interface */
|
||||
|
||||
#include "timeval.h"
|
||||
|
||||
/*
|
||||
* Platform specific stuff.
|
||||
*/
|
||||
|
|
@ -82,9 +84,6 @@ extern FILE *tool_stderr;
|
|||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
/* set in win32_init() */
|
||||
extern LARGE_INTEGER tool_freq;
|
||||
extern bool tool_isVistaOrGreater;
|
||||
/* set in init_terminal() */
|
||||
extern bool tool_term_has_bold;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue