summaryrefslogtreecommitdiffstats
path: root/src/sigs.h
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-07-19 16:51:35 +0000
committerFrederic Culot <calcurse@culot.org>2009-07-19 16:51:35 +0000
commitd2c766a1377dc9d8d01bfbc35c7e7843627e3a44 (patch)
treed159e3ee5d529e6b13ebc5ee4285ef9a3224fc40 /src/sigs.h
parent5dcc213c164a1f25cad4bd76617dc780f5e1dc6f (diff)
downloadcalcurse-d2c766a1377dc9d8d01bfbc35c7e7843627e3a44.tar.gz
calcurse-d2c766a1377dc9d8d01bfbc35c7e7843627e3a44.zip
New way of handling signals.
Diffstat (limited to 'src/sigs.h')
-rwxr-xr-xsrc/sigs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sigs.h b/src/sigs.h
index cff612a..5f1a6d2 100755
--- a/src/sigs.h
+++ b/src/sigs.h
@@ -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 */