1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

#ifdef around alarmfunc() to supress warning.

This commit is contained in:
Gisle Vanem 2006-09-09 19:11:54 +00:00
parent f7ddb39ee1
commit fb8d9b6645

View File

@ -172,6 +172,8 @@ static void conn_free(struct connectdata *conn);
#ifdef HAVE_SIGSETJMP #ifdef HAVE_SIGSETJMP
extern sigjmp_buf curl_jmpenv; extern sigjmp_buf curl_jmpenv;
#endif #endif
#ifdef SIGALARM
static static
RETSIGTYPE alarmfunc(int sig) RETSIGTYPE alarmfunc(int sig)
{ {
@ -183,6 +185,7 @@ RETSIGTYPE alarmfunc(int sig)
return; return;
} }
#endif #endif
#endif /* SIGALRM */
#endif /* USE_ARES */ #endif /* USE_ARES */
void Curl_safefree(void *ptr) void Curl_safefree(void *ptr)