X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Fsignals.h;h=d805d19223e642c9032234c3362de48e27cbd195;hb=75a3bc56e890a9ca5e25f194acbb574e942de5c5;hp=9648e04f59c16a96442e8d8f4e4877ee15856c42;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/h/signals.h b/h/signals.h index 9648e04..d805d19 100644 --- a/h/signals.h +++ b/h/signals.h @@ -1,23 +1,20 @@ - /* - * signals.h -- header file for nmh signal interface - * - * $Id$ - */ +** signals.h -- header file for nmh signal interface +*/ #include /* - * The type for a signal handler - */ +** The type for a signal handler +*/ typedef RETSIGTYPE (*SIGNAL_HANDLER)(int); /* - * If not a POSIX machine, then we create our - * own POSIX style signal sets functions. This - * currently assumes you have 31 signals, which - * should be true on most pure BSD machines. - */ +** If not a POSIX machine, then we create our +** own POSIX style signal sets functions. This +** currently assumes you have 31 signals, which +** should be true on most pure BSD machines. +*/ #ifndef POSIX_SIGNALS # define sigemptyset(s) (*(s) = 0) # define sigfillset(s) (*(s) = ~((sigset_t) 0), 0) @@ -27,8 +24,8 @@ typedef RETSIGTYPE (*SIGNAL_HANDLER)(int); #endif /* - * prototypes - */ -int SIGPROCMASK (int, const sigset_t *, sigset_t *); -SIGNAL_HANDLER SIGNAL (int, SIGNAL_HANDLER); -SIGNAL_HANDLER SIGNAL2 (int, SIGNAL_HANDLER); +** prototypes +*/ +int SIGPROCMASK(int, const sigset_t *, sigset_t *); +SIGNAL_HANDLER SIGNAL(int, SIGNAL_HANDLER); +SIGNAL_HANDLER SIGNAL2(int, SIGNAL_HANDLER);