]> git.ipfire.org Git - thirdparty/curl.git/commit
tidy-up: `Curl_thread_create()` callback return type
authorViktor Szakats <commit@vsz.me>
Thu, 10 Jul 2025 15:59:59 +0000 (17:59 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 21 Jul 2025 14:17:42 +0000 (16:17 +0200)
commitee232917dc892bc453c03d1b8f80e654b1164e1f
tree25ad5976e23ebebab7bc5ce7a8f876b00ca01803
parent8ae93a95f8bdfeb2f30a4b917c805e7c9a0e3e8b
tidy-up: `Curl_thread_create()` callback return type

Replace repeat `#ifdef` code with a macro for the return type of
the thread function.

Also:
- always define `CURL_STDCALL`, allowing to use it without guards.
- lib1307: drop single-use macro `CAINFO`.

Closes #17889
lib/asyn-thrdd.c
lib/curl_threads.c
lib/curl_threads.h
tests/libtest/lib3207.c