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 <justinkz@gmail.com>
This commit is contained in:
Michael Reed
2015-08-26 13:27:05 -04:00
parent 3b99d8d0dd
commit 2d50a95601
3 changed files with 2 additions and 8 deletions

View File

@@ -51,8 +51,6 @@
#cmakedefine HAVE_UTIME_H
#cmakedefine HAVE_UTIMES
#cmakedefine HAVE_WORKING_LIBINTL
#define RETSIGTYPE void
#define SIGRETURN return
#cmakedefine UNIX
#cmakedefine USE_FNAME_CASE
#define USEMAN_S 1