gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 80/411: curl_threads: make it 'struct Curl_actual_call'


From: gnunet
Subject: [gnurl] 80/411: curl_threads: make it 'struct Curl_actual_call'
Date: Wed, 13 Jan 2021 01:18:15 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit 221a584df9ea12d2d86e8ec5f0d855d7b19f618f
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Wed Sep 2 12:12:40 2020 +0200

    curl_threads: make it 'struct Curl_actual_call'
    
    Internal names should not be prefixed "curl_"
    
    Closes #5906
---
 lib/curl_threads.c | 6 +++---
 1 file 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;
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]