diff options
Diffstat (limited to 'sig.h')
-rw-r--r-- | sig.h | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -1,4 +1,4 @@ -/* $NetBSD: sig.h,v 1.2 1997/01/11 06:48:11 lukem Exp $ */ +/* $NetBSD: sig.h,v 1.3 2000/09/04 22:06:32 lukem Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -42,7 +42,7 @@ * el.sig.h: Signal handling functions */ #ifndef _h_el_sig -#define _h_el_sig +#define _h_el_sig #include <signal.h> @@ -52,21 +52,21 @@ * Define here all the signals we are going to handle * The _DO macro is used to iterate in the source code */ -#define ALLSIGS \ - _DO(SIGINT) \ - _DO(SIGTSTP) \ - _DO(SIGSTOP) \ - _DO(SIGQUIT) \ - _DO(SIGHUP) \ - _DO(SIGTERM) \ - _DO(SIGCONT) \ - _DO(SIGWINCH) +#define ALLSIGS \ + _DO(SIGINT) \ + _DO(SIGTSTP) \ + _DO(SIGSTOP) \ + _DO(SIGQUIT) \ + _DO(SIGHUP) \ + _DO(SIGTERM) \ + _DO(SIGCONT) \ + _DO(SIGWINCH) -typedef sig_t *el_signal_t; +typedef sig_t *el_signal_t; -protected void sig_end __P((EditLine*)); -protected int sig_init __P((EditLine*)); -protected void sig_set __P((EditLine*)); -protected void sig_clr __P((EditLine*)); +protected void sig_end(EditLine*); +protected int sig_init(EditLine*); +protected void sig_set(EditLine*); +protected void sig_clr(EditLine*); #endif /* _h_el_sig */ |