aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-11 15:44:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-11 15:44:27 +0000
commit85e2e96fb69e34c65bff3230fb27178180fde73d (patch)
treee50f3ca620465f706ba4838cf06a0a87ddbbfd17 /lib/url.c
parentbe35b3ad03a9c6388ddeff9d55bfb6fbc770ed21 (diff)
corrected the signal handler
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 44c13ccb1..0c47b2e0f 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -143,13 +143,13 @@ static unsigned int ConnectionStore(struct SessionHandle *data,
#ifndef RETSIGTYPE
#define RETSIGTYPE void
#endif
+extern sigjmp_buf curl_jmpenv;
static
RETSIGTYPE alarmfunc(int signal)
{
/* this is for "-ansi -Wall -pedantic" to stop complaining! (rabe) */
(void)signal;
#ifdef HAVE_SIGSETJMP
- extern sigjmp_buf curl_jmpenv;
siglongjmp(curl_jmpenv, 1);
#endif
return;