gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 105/254: asyn-thread: fix unused macro warnings


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 105/254: asyn-thread: fix unused macro warnings
Date: Sat, 17 Jun 2017 16:52:17 +0200

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

ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.

commit ea1b86478662dce1c3f1ce417180efd5d998c883
Author: Marcel Raad <address@hidden>
AuthorDate: Sun May 7 19:02:34 2017 +0200

    asyn-thread: fix unused macro warnings
    
    Don't do anything in this file if CURLRES_THREADED is not defined.
---
 lib/asyn-thread.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/asyn-thread.c b/lib/asyn-thread.c
index 26a15b110..2138c78b8 100644
--- a/lib/asyn-thread.c
+++ b/lib/asyn-thread.c
@@ -22,6 +22,11 @@
 
 #include "curl_setup.h"
 
+/***********************************************************************
+ * Only for threaded name resolves builds
+ **********************************************************************/
+#ifdef CURLRES_THREADED
+
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #endif
@@ -74,11 +79,6 @@
 #include "curl_memory.h"
 #include "memdebug.h"
 
-/***********************************************************************
- * Only for threaded name resolves builds
- **********************************************************************/
-#ifdef CURLRES_THREADED
-
 /*
  * Curl_resolver_global_init()
  * Called from curl_global_init() to initialize global resolver environment.

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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