summaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-05-16 23:40:42 +0200
committerDaniel Stenberg <daniel@haxx.se>2023-05-17 08:03:10 +0200
commitf446258f0269a62289cca0210157cb8558d0edc3 (patch)
treed4a47569cf235c7dae3f33de00738fcde7fb08df /lib/hostip.h
parentec91b9c08f26cf054878a0bda6d0f1c05175e0f8 (diff)
downloadcurl-f446258f0269a62289cca0210157cb8558d0edc3.tar.gz
hostip: include easy_lock.h before using GLOBAL_INIT_IS_THREADSAFE
Since that header file is the only place that define can be defined. Reported-by: Marc Deslauriers Follow-up to 13718030ad4b3209 Closes #11121
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index 4b5481f65..0dd19e87c 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -186,15 +186,6 @@ Curl_cache_addr(struct Curl_easy *data, struct Curl_addrinfo *addr,
#define CURL_INADDR_NONE INADDR_NONE
#endif
-#ifdef HAVE_SIGSETJMP
-/* Forward-declaration of variable defined in hostip.c. Beware this
- * is a global and unique instance. This is used to store the return
- * address that we can jump back to from inside a signal handler.
- * This is not thread-safe stuff.
- */
-extern sigjmp_buf curl_jmpenv;
-#endif
-
/*
* Function provided by the resolver backend to set DNS servers to use.
*/