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:
Michael Forney 2021-04-07 02:37:15 -07:00 committed by Daniel Stenberg
parent 694eab18bc
commit 812fce9dcf
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
19 changed files with 12 additions and 85 deletions

View file

@ -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;