os/os_defs.h cleanup: SIGHASARG

It's always defined, so the #else is redundant.
This commit is contained in:
Michael Reed 2015-08-26 13:17:45 -04:00
parent 43bc42d94e
commit 3b99d8d0dd

View File

@ -13,18 +13,8 @@
# include "nvim/os/unix_defs.h" # include "nvim/os/unix_defs.h"
#endif #endif
/* The number of arguments to a signal handler is configured here. */ #define SIGDEFARG(s) (int s)
/* It used to be a long list of almost all systems. Any system that doesn't #define SIGDUMMYARG 0
* have an argument??? */
#define SIGHASARG
#ifdef SIGHASARG
# define SIGDEFARG(s) (int s)
# define SIGDUMMYARG 0
#else
# define SIGDEFARG(s) (void)
# define SIGDUMMYARG
#endif
#if defined(DIRSIZ) && !defined(MAXNAMLEN) #if defined(DIRSIZ) && !defined(MAXNAMLEN)
# define MAXNAMLEN DIRSIZ # define MAXNAMLEN DIRSIZ