aboutsummaryrefslogtreecommitdiffstats
path: root/src/calcurse.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-04-14 11:28:22 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-04-19 11:42:34 +0200
commit6f883c0f3f4c08fe8e125f269da9b940519ccf44 (patch)
treeb66a7de57c6e56004f4f96867884270bc635d27f /src/calcurse.c
parent1de34587abc135edf9af8f9d8d6094ac10f0143c (diff)
downloadcalcurse-6f883c0f3f4c08fe8e125f269da9b940519ccf44.tar.gz
calcurse-6f883c0f3f4c08fe8e125f269da9b940519ccf44.zip
Use generic lists for events.
Use the new generic list implementation instead of those insane "next" pointers in events. Includes some cleanups. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.c')
-rw-r--r--src/calcurse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 6a90f57..95c9de8 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -75,6 +75,9 @@ main (int argc, char **argv)
apoint_llist_init ();
recur_apoint_llist_init ();
+ /* Initialize non-thread-safe data structures. */
+ event_llist_init ();
+
/*
* Begin by parsing and handling command line arguments.
* The data path is also initialized here.