diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-06-05 22:05:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-05 22:05:19 +0100 |
commit | 99c48fe9974b8d70ca33674658a3da722b0d6466 (patch) | |
tree | dffbad61a62ddf128e2c258fc24bd96c5ccaf4bb /src/configure.ac | |
parent | de1d7343794a950bd624043901ce7b3caca3c49b (diff) |
patch 8.2.5061: C89 requires signal handlers to return voidv8.2.5061
Problem: C89 requires signal handlers to return void.
Solution: Drop RETSIGTYPE and hard-code a void return value.
Diffstat (limited to 'src/configure.ac')
-rw-r--r-- | src/configure.ac | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/configure.ac b/src/configure.ac index 37a7c6882c..778d11a45e 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -3644,17 +3644,6 @@ fi dnl Checks for library functions. =================================== -dnl TODO: this generates an obsolete warning, would need to remove and replace -dnl all RETSIGTYPE with "void" and SIGRETURN with "return". -AC_TYPE_SIGNAL - -dnl find out what to use at the end of a signal function -if test $ac_cv_type_signal = void; then - AC_DEFINE(SIGRETURN, [return]) -else - AC_DEFINE(SIGRETURN, [return 0]) -fi - dnl check if struct sigcontext is defined (used for SGI only) AC_MSG_CHECKING(for struct sigcontext) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ |