summaryrefslogtreecommitdiff
path: root/lib/hostip.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-04-07 02:37:15 -0700
committerDaniel Stenberg <daniel@haxx.se>2021-04-07 16:01:05 +0200
commit812fce9dcfaf26f62b8bfb83ee51b43f83c5291f (patch)
treeca99d375f0f164b099c460095d50f727a41529ce /lib/hostip.c
parent694eab18bcaa83b5e70f7e2e6b5b7418d953ca3b (diff)
downloadcurl-812fce9dcfaf26f62b8bfb83ee51b43f83c5291f.tar.gz
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
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 34fb7db65..05c09f683 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -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;