aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-08-26 13:17:45 -0400
committerMichael Reed <m.reed@mykolab.com>2015-08-27 16:54:36 -0400
commit3b99d8d0dd82f866b80822af2220a005fdd83db2 (patch)
treee78314f0b00e6c97c8f737e86cbd55a120911090
parent43bc42d94efcd99af6db436ef8cc9e247a7904a0 (diff)
downloadrneovim-3b99d8d0dd82f866b80822af2220a005fdd83db2.tar.gz
rneovim-3b99d8d0dd82f866b80822af2220a005fdd83db2.tar.bz2
rneovim-3b99d8d0dd82f866b80822af2220a005fdd83db2.zip
os/os_defs.h cleanup: SIGHASARG
It's always defined, so the #else is redundant.
-rw-r--r--src/nvim/os/os_defs.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/nvim/os/os_defs.h b/src/nvim/os/os_defs.h
index 2ee4ce4cfd..25dd6a2ad2 100644
--- a/src/nvim/os/os_defs.h
+++ b/src/nvim/os/os_defs.h
@@ -13,18 +13,8 @@
# include "nvim/os/unix_defs.h"
#endif
-/* The number of arguments to a signal handler is configured here. */
-/* It used to be a long list of almost all systems. Any system that doesn't
- * have an argument??? */
-#define SIGHASARG
-
-#ifdef SIGHASARG
-# define SIGDEFARG(s) (int s)
-# define SIGDUMMYARG 0
-#else
-# define SIGDEFARG(s) (void)
-# define SIGDUMMYARG
-#endif
+#define SIGDEFARG(s) (int s)
+#define SIGDUMMYARG 0
#if defined(DIRSIZ) && !defined(MAXNAMLEN)
# define MAXNAMLEN DIRSIZ