summaryrefslogtreecommitdiff
path: root/lib/curl_threads.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-02 12:12:40 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-02 22:41:59 +0200
commit221a584df9ea12d2d86e8ec5f0d855d7b19f618f (patch)
tree9756f3e16a39bc4629651818a25772ecdc453226 /lib/curl_threads.c
parentadd7022666299caa823a15e824677d459650743a (diff)
downloadcurl-221a584df9ea12d2d86e8ec5f0d855d7b19f618f.tar.gz
curl_threads: make it 'struct Curl_actual_call'
Internal names should not be prefixed "curl_" Closes #5906
Diffstat (limited to 'lib/curl_threads.c')
-rw-r--r--lib/curl_threads.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/curl_threads.c b/lib/curl_threads.c
index b5f10a20e..6f3815e71 100644
--- a/lib/curl_threads.c
+++ b/lib/curl_threads.c
@@ -41,14 +41,14 @@
#if defined(USE_THREADS_POSIX)
-struct curl_actual_call {
+struct Curl_actual_call {
unsigned int (*func)(void *);
void *arg;
};
static void *curl_thread_create_thunk(void *arg)
{
- struct curl_actual_call *ac = arg;
+ struct Curl_actual_call *ac = arg;
unsigned int (*func)(void *) = ac->func;
void *real_arg = ac->arg;
@@ -62,7 +62,7 @@ static void *curl_thread_create_thunk(void *arg)
curl_thread_t Curl_thread_create(unsigned int (*func) (void *), void *arg)
{
curl_thread_t t = malloc(sizeof(pthread_t));
- struct curl_actual_call *ac = malloc(sizeof(struct curl_actual_call));
+ struct Curl_actual_call *ac = malloc(sizeof(struct Curl_actual_call));
if(!(ac && t))
goto err;