diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/calcurse.c | 1 | ||||
-rw-r--r-- | src/calcurse.h | 1 | ||||
-rw-r--r-- | src/dmon.c | 1 | ||||
-rw-r--r-- | src/recur.c | 5 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/calcurse.c b/src/calcurse.c index b128dbd..389334d 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -518,6 +518,7 @@ int main(int argc, char **argv) /* Initialize non-thread-safe data structures. */ event_llist_init(); + recur_event_llist_init(); todo_init_list(); /* diff --git a/src/calcurse.h b/src/calcurse.h index 6112ede..16ca155 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -892,6 +892,7 @@ void recur_apoint_free_bkp(void); void recur_event_free(struct recur_event *); void recur_apoint_free(struct recur_apoint *); void recur_apoint_llist_init(void); +void recur_event_llist_init(void); void recur_apoint_llist_free(void); void recur_event_llist_free(void); struct recur_apoint *recur_apoint_new(char *, char *, long, long, char, @@ -163,6 +163,7 @@ void dmon_start(int parent_exit_status) apoint_llist_init(); recur_apoint_llist_init(); event_llist_init(); + recur_event_llist_init(); todo_init_list(); io_load_app(); data_loaded = 1; diff --git a/src/recur.c b/src/recur.c index 801346d..69706b0 100644 --- a/src/recur.c +++ b/src/recur.c @@ -140,6 +140,11 @@ void recur_apoint_llist_init(void) LLIST_TS_INIT(&recur_alist_p); } +void recur_event_llist_init(void) +{ + LLIST_INIT(&recur_elist); +} + void recur_apoint_free(struct recur_apoint *rapt) { mem_free(rapt->mesg); |