Mercurial > vim
diff src/config.h.in @ 29079:9781c150eddd v8.2.5061
patch 8.2.5061: C89 requires signal handlers to return void
Commit: https://github.com/vim/vim/commit/99c48fe9974b8d70ca33674658a3da722b0d6466
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 5 22:05:19 2022 +0100
patch 8.2.5061: C89 requires signal handlers to return void
Problem: C89 requires signal handlers to return void.
Solution: Drop RETSIGTYPE and hard-code a void return value.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Jun 2022 23:15:02 +0200 |
parents | b90bca860b5a |
children | 029c59bf78f1 |
line wrap: on
line diff
--- a/src/config.h.in +++ b/src/config.h.in @@ -132,12 +132,6 @@ #undef PTYRANGE0 #undef PTYRANGE1 -/* Define as the return type of signal handlers (int or void). */ -#undef RETSIGTYPE - -/* Define as the command at the end of signal handlers ("" or "return 0;"). */ -#undef SIGRETURN - /* Define if struct sigcontext is present */ #undef HAVE_SIGCONTEXT