diff options
author | Michael Forney <mforney@mforney.org> | 2021-04-07 02:37:15 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-04-07 16:01:05 +0200 |
commit | 812fce9dcfaf26f62b8bfb83ee51b43f83c5291f (patch) | |
tree | ca99d375f0f164b099c460095d50f727a41529ce /lib/curl_setup_once.h | |
parent | 694eab18bcaa83b5e70f7e2e6b5b7418d953ca3b (diff) | |
download | curl-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/curl_setup_once.h')
-rw-r--r-- | lib/curl_setup_once.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/curl_setup_once.h b/lib/curl_setup_once.h index ef60bc7ae..adf1e11f8 100644 --- a/lib/curl_setup_once.h +++ b/lib/curl_setup_once.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -351,15 +351,6 @@ typedef int sig_atomic_t; /* - * Default return type for signal handlers. - */ - -#ifndef RETSIGTYPE -#define RETSIGTYPE void -#endif - - -/* * Macro used to include code only in debug builds. */ |