diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2006-09-09 19:11:54 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2006-09-09 19:11:54 +0000 |
commit | fb8d9b6645a38aee05b4aa459ce931e623a41b50 (patch) | |
tree | 2c9d145ec87d26806a05f0395a51cb9831693fbc /lib | |
parent | f7ddb39ee18a62c22022ec84b1f5242f16abe65d (diff) |
#ifdef around alarmfunc() to supress warning.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -172,6 +172,8 @@ static void conn_free(struct connectdata *conn); #ifdef HAVE_SIGSETJMP extern sigjmp_buf curl_jmpenv; #endif + +#ifdef SIGALARM static RETSIGTYPE alarmfunc(int sig) { @@ -183,6 +185,7 @@ RETSIGTYPE alarmfunc(int sig) return; } #endif +#endif /* SIGALRM */ #endif /* USE_ARES */ void Curl_safefree(void *ptr) |