From f610aa8a9d90ef8eab39d08e7acf5ecb4fc11c3b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 4 Sep 2025 02:12:45 +0200 Subject: [PATCH] Revert "nope" This reverts commit cb8cd80b26cef6b2ac9d06fde1b3d8761dc83182. --- tests/libtest/lib3207.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/libtest/lib3207.c b/tests/libtest/lib3207.c index 310629a9be..e3b50ff40f 100644 --- a/tests/libtest/lib3207.c +++ b/tests/libtest/lib3207.c @@ -68,13 +68,11 @@ static size_t write_memory_callback(char *contents, size_t size, return realsize; } -static #if defined(USE_THREADS_POSIX) || defined(USE_THREADS_WIN32) -CURL_THREAD_RETURN_T CURL_STDCALL +static CURL_THREAD_RETURN_T CURL_STDCALL test_thread(void *ptr) #else -unsigned int +static unsigned int test_thread(void *ptr) #endif -test_thread(void *ptr) { struct Ctx *ctx = (struct Ctx *)ptr; CURLcode res = CURLE_OK;