diff options
author | dartraiden <wowemuh@gmail.com> | 2021-04-17 17:28:44 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2021-04-17 17:28:44 +0300 |
commit | 5612cd9c7b03972631c46d117c595a34e71ecafd (patch) | |
tree | 791e0aafd46c353e6edfbba8369577fad21bdfe0 /libs/libcurl/src/hostip.c | |
parent | 6f2d6282c4efac04c18dcc7d493e18a3aaf08ad3 (diff) |
libcurl: update to 7.76.1
Diffstat (limited to 'libs/libcurl/src/hostip.c')
-rw-r--r-- | libs/libcurl/src/hostip.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/libcurl/src/hostip.c b/libs/libcurl/src/hostip.c index 750afe8a97..05c09f6835 100644 --- a/libs/libcurl/src/hostip.c +++ b/libs/libcurl/src/hostip.c @@ -631,7 +631,7 @@ enum resolve_t Curl_resolv(struct Curl_easy *data, * within a signal handler which is nonportable and could lead to problems. */ static -RETSIGTYPE alarmfunc(int sig) +void alarmfunc(int sig) { /* this is for "-ansi -Wall -pedantic" to stop complaining! (rabe) */ (void)sig; @@ -1130,6 +1130,7 @@ CURLcode Curl_once_resolved(struct Curl_easy *data, bool *protocol_done) * resolve error */ +#ifdef USE_CURL_ASYNC CURLcode Curl_resolver_error(struct Curl_easy *data) { const char *host_or_proxy; @@ -1153,3 +1154,4 @@ CURLcode Curl_resolver_error(struct Curl_easy *data) return result; } +#endif /* USE_CURL_ASYNC */ |