commit | 99c48fe9974b8d70ca33674658a3da722b0d6466 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jun 05 22:05:19 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jun 05 22:05:19 2022 +0100 |
tree | dffbad61a62ddf128e2c258fc24bd96c5ccaf4bb | |
parent | de1d7343794a950bd624043901ce7b3caca3c49b [diff] [blame] |
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.
diff --git a/src/if_cscope.c b/src/if_cscope.c index f373952..5d24533 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c
@@ -2181,11 +2181,10 @@ /* * Used to catch and ignore SIGALRM below. */ - static RETSIGTYPE + static void sig_handler SIGDEFARG(sigarg) { // do nothing - SIGRETURN; } #endif