aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/if_cscope.c5
-rw-r--r--src/nvim/os/os_defs.h3
2 files changed, 2 insertions, 6 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c
index d6c5cf4fd5..5e1c5e9171 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -1829,10 +1829,9 @@ static int cs_read_prompt(int i)
/*
* Used to catch and ignore SIGALRM below.
*/
-static RETSIGTYPE
-sig_handler SIGDEFARG(sigarg) {
+static void sig_handler(int s) {
/* do nothing */
- SIGRETURN;
+ return;
}
#endif
diff --git a/src/nvim/os/os_defs.h b/src/nvim/os/os_defs.h
index 25dd6a2ad2..f0f74857e0 100644
--- a/src/nvim/os/os_defs.h
+++ b/src/nvim/os/os_defs.h
@@ -13,9 +13,6 @@
# include "nvim/os/unix_defs.h"
#endif
-#define SIGDEFARG(s) (int s)
-#define SIGDUMMYARG 0
-
#if defined(DIRSIZ) && !defined(MAXNAMLEN)
# define MAXNAMLEN DIRSIZ
#endif