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/if_cscope.c | |
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/if_cscope.c')
-rw-r--r-- | src/if_cscope.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c index f373952dd8..5d24533016 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -2181,11 +2181,10 @@ cs_read_prompt(int i) /* * Used to catch and ignore SIGALRM below. */ - static RETSIGTYPE + static void sig_handler SIGDEFARG(sigarg) { // do nothing - SIGRETURN; } #endif |