← Commit list

1027d07704

Viktor Szakats
Viktor Szakats
2026-07-18
SUCCESS Duration: 196s

Subject

timeval: make `Curl_freq` variable static (Windows)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/curlx/timeval.c+1 -1
@@ -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. */
lib/system_win32.h+0 -2
@@ -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