From 24743cd60b8a81631923193fc57f15e4d668578a Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Thu, 26 Jul 2007 20:35:58 +0000 Subject: global variables suppressed --- src/calcurse.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/src/calcurse.c b/src/calcurse.c index 8db813a..6375395 100755 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -1,4 +1,4 @@ -/* $calcurse: calcurse.c,v 1.49 2007/07/23 19:25:54 culot Exp $ */ +/* $calcurse: calcurse.c,v 1.50 2007/07/26 20:35:58 culot Exp $ */ /* * Calcurse - text-based organizer @@ -60,16 +60,6 @@ #include "notify.h" -/* Global variables for appointments */ -int first_app_onscreen = 0; -int hilt_app = 0, sav_hilt_app; - -/* Global variables for todo list */ -int nb_tod = 0, hilt_tod = 0, sav_hilt_tod; -int first_todo_onscreen = 1; -char *saved_t_mesg; - - /* * Calcurse is a text-based personal organizer which helps keeping track * of events and everyday tasks. It contains a calendar, a 'todo' list, @@ -86,9 +76,16 @@ main(int argc, char **argv) int ch, background, foreground; int non_interactive; int no_data_file = 1; + int first_todo_onscreen = 1; + int hilt_app = 0; + int hilt_tod = 0; + int nb_tod = 0; + int sav_hilt_app = 0; + int sav_hilt_tod = 0; struct sigaction sigact; bool do_storage = false; bool day_changed = false; + char *saved_t_mesg; char *no_color_support = _("Sorry, colors are not supported by your terminal\n" "(Press [ENTER] to continue)"); -- cgit v1.2.3-54-g00ecf