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;