From 2d50a956011cfdd70efc3ebb60e9d27bd97ffdb6 Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Wed, 26 Aug 2015 13:27:05 -0400 Subject: os/os_defs.h cleanup: Remaining signal stuff RETSIGTYPE, SIGRETURN, and SIGDEFARG are always defined the same, so inline them for simplicity; SIGDUMMYARG, however, is unused, so remove it. Even if these things don't work on windows, the signal handler in if_cscope.c is already wrapped with '#idef UNIX', as is its only call site. Reviewed-by: Justin M. Keyes --- src/nvim/os/os_defs.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/nvim/os') 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 -- cgit