]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_threads: make it 'struct Curl_actual_call'
authorDaniel Stenberg <daniel@haxx.se>
Wed, 2 Sep 2020 10:12:40 +0000 (12:12 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 2 Sep 2020 20:41:59 +0000 (22:41 +0200)
Internal names should not be prefixed "curl_"

Closes #5906

lib/curl_threads.c

index b5f10a20ec269712be74e5c3363c7bbdf75aa210..6f3815e7117540b5cc8f85a13b452aa9258a4cdf 100644 (file)
 
 #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;