mirror of
https://github.com/curl/curl.git
synced 2026-06-04 02:04:35 +03:00
#ifdef around alarmfunc() to supress warning.
This commit is contained in:
parent
f7ddb39ee1
commit
fb8d9b6645
1 changed files with 3 additions and 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue