summaryrefslogtreecommitdiffstats
path: root/src/calcurse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/calcurse.c')
-rwxr-xr-xsrc/calcurse.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 8673c48..0352e5d 100755
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -1,4 +1,4 @@
-/* $calcurse: calcurse.c,v 1.83 2009/07/12 20:37:41 culot Exp $ */
+/* $calcurse: calcurse.c,v 1.84 2009/07/19 16:51:36 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -37,7 +37,6 @@
*/
#include <stdlib.h>
-#include <signal.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -73,7 +72,6 @@ main (int argc, char **argv)
int sav_hilt_app = 0;
int sav_hilt_tod = 0;
int cut_item = 0;
- struct sigaction sigact;
unsigned do_storage = 0;
unsigned do_update = 1;
unsigned day_changed = 0;
@@ -107,11 +105,11 @@ main (int argc, char **argv)
}
/* Begin of interactive mode with ncurses interface. */
- sigs_init (&sigact); /* signal handling init */
- initscr (); /* start the curses mode */
- cbreak (); /* control chars generate a signal */
- noecho (); /* controls echoing of typed chars */
- curs_set (0); /* make cursor invisible */
+ sigs_init (); /* signal handling init */
+ initscr (); /* start the curses mode */
+ cbreak (); /* control chars generate a signal */
+ noecho (); /* controls echoing of typed chars */
+ curs_set (0); /* make cursor invisible */
calendar_set_current_date ();
notify_init_vars ();
wins_get_config ();