diff options
author | Frederic Culot <calcurse@culot.org> | 2007-07-26 20:35:58 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-07-26 20:35:58 +0000 |
commit | 24743cd60b8a81631923193fc57f15e4d668578a (patch) | |
tree | 0625f9365df1e558801d5a1a1fc2bae702441983 /src | |
parent | cd7fa9ca2419d704f918098a953ec197293bd513 (diff) | |
download | calcurse-24743cd60b8a81631923193fc57f15e4d668578a.zip |
global variables suppressed
Diffstat (limited to 'src')
-rwxr-xr-x | src/calcurse.c | 19 |
1 files 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)"); |