calls to apoint_llist_init() and recur_apoint_llist_init() added

This commit is contained in:
Frederic Culot 2006-09-12 15:08:21 +00:00
parent 97768818e6
commit 7dcbf6d0b3

View File

@ -1,4 +1,4 @@
/* $calcurse: calcurse.c,v 1.15 2006/09/11 13:43:42 culot Exp $ */
/* $calcurse: calcurse.c,v 1.16 2006/09/12 15:08:21 culot Exp $ */
/*
* Calcurse - text-based organizer
@ -136,6 +136,10 @@ int main(int argc, char **argv)
textdomain (PACKAGE);
#endif /* ENABLE_NLS */
/* Thread-safe data structure init */
apoint_llist_init();
recur_apoint_llist_init();
/*
* Begin by parsing and handling command line arguments.
* The data path is also initialized here.
@ -930,7 +934,7 @@ void add_item(void)
char item_time[MAX_LENGTH];
char item_mesg[MAX_LENGTH];
long apoint_duration;
struct apoint_s *apoint_pointeur;
apoint_llist_node_t *apoint_pointeur;
struct event_s *event_pointeur;
unsigned heures, minutes;
unsigned end_h, end_m;