mirror of
https://github.com/curl/curl.git
synced 2026-07-30 14:18:41 +03:00
formatting
This commit is contained in:
parent
c9751c13cb
commit
81788e8b4f
2 changed files with 3 additions and 6 deletions
|
|
@ -60,8 +60,7 @@ static void *curl_thread_create_thunk(void *arg)
|
|||
}
|
||||
|
||||
curl_thread_t Curl_thread_create(CURL_THREAD_RESULT_T
|
||||
(CURL_STDCALL *func) (void *),
|
||||
void *arg)
|
||||
(CURL_STDCALL *func) (void *), void *arg)
|
||||
{
|
||||
curl_thread_t t = malloc(sizeof(pthread_t));
|
||||
struct Curl_actual_call *ac = malloc(sizeof(struct Curl_actual_call));
|
||||
|
|
@ -104,8 +103,7 @@ int Curl_thread_join(curl_thread_t *hnd)
|
|||
#elif defined(USE_THREADS_WIN32)
|
||||
|
||||
curl_thread_t Curl_thread_create(CURL_THREAD_RESULT_T
|
||||
(CURL_STDCALL *func) (void *),
|
||||
void *arg)
|
||||
(CURL_STDCALL *func) (void *), void *arg)
|
||||
{
|
||||
#if defined(CURL_WINDOWS_UWP) || defined(UNDER_CE)
|
||||
typedef HANDLE curl_win_thread_handle_t;
|
||||
|
|
|
|||
|
|
@ -61,8 +61,7 @@
|
|||
#if defined(USE_THREADS_POSIX) || defined(USE_THREADS_WIN32)
|
||||
|
||||
curl_thread_t Curl_thread_create(CURL_THREAD_RESULT_T
|
||||
(CURL_STDCALL *func) (void *),
|
||||
void *arg);
|
||||
(CURL_STDCALL *func) (void *), void *arg);
|
||||
|
||||
void Curl_thread_destroy(curl_thread_t *hnd);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue