timeval: make Curl_freq variable static (Windows)

Follow-up to 64d4f5c4b6 #20852

Closes #22346
This commit is contained in:
Viktor Szakats 2026-07-18 02:42:39 +02:00
parent 820c014578
commit 1027d07704
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View file

@ -27,7 +27,7 @@
#include "system_win32.h"
LARGE_INTEGER Curl_freq;
static LARGE_INTEGER Curl_freq;
/* For tool or tests, we must initialize before calling curlx_now().
Providing this function here is wrong. */

View file

@ -26,8 +26,6 @@
#include "curl_setup.h"
#ifdef _WIN32
extern LARGE_INTEGER Curl_freq;
CURLcode Curl_win32_init(long flags);
void Curl_win32_cleanup(long init_flags);
#else