mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
configure: remove use of RETSIGTYPE
This was previously defined by the obsolete AC_TYPE_SIGNAL macro,
which was removed in 2682e5f5. The deprecation text says
> Your code may safely assume C89 semantics that RETSIGTYPE is void.
So, remove it and just use void instead.
Closes #6861
This commit is contained in:
parent
694eab18bc
commit
812fce9dcf
19 changed files with 12 additions and 85 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue