diff options
author | Frederic Culot <calcurse@culot.org> | 2009-07-19 16:51:35 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2009-07-19 16:51:35 +0000 |
commit | d2c766a1377dc9d8d01bfbc35c7e7843627e3a44 (patch) | |
tree | d159e3ee5d529e6b13ebc5ee4285ef9a3224fc40 /src/sigs.h | |
parent | 5dcc213c164a1f25cad4bd76617dc780f5e1dc6f (diff) | |
download | calcurse-d2c766a1377dc9d8d01bfbc35c7e7843627e3a44.tar.gz calcurse-d2c766a1377dc9d8d01bfbc35c7e7843627e3a44.zip |
New way of handling signals.
Diffstat (limited to 'src/sigs.h')
-rwxr-xr-x | src/sigs.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: sigs.h,v 1.4 2009/07/05 20:33:23 culot Exp $ */ +/* $calcurse: sigs.h,v 1.5 2009/07/19 16:51:36 culot Exp $ */ /* * Calcurse - text-based organizer @@ -39,6 +39,9 @@ #ifndef CALCURSE_SIGS_H #define CALCURSE_SIGS_H -void sigs_init (struct sigaction *); +#include <signal.h> + +void sigs_init (void); +unsigned sigs_set_hdlr (int, void (*)(int)); #endif /* CALCURSE_SIGS_H */ |