summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-04-14 12:49:44 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-04-19 11:42:34 +0200
commitbf431d6cd9411714f849050a10071dc0fe0d7741 (patch)
tree9f97ddbc64b46e3e669794e1c2a0f15355ee99b4 /src/calcurse.h
parent6f883c0f3f4c08fe8e125f269da9b940519ccf44 (diff)
downloadcalcurse-bf431d6cd9411714f849050a10071dc0fe0d7741.zip
Use generic lists for todo items.
Use the new generic list implementation instead of "next" pointers in todo items. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index a4f33fa..7bcdb31 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -278,7 +278,6 @@ struct event {
/* Todo item definition. */
struct todo {
- struct todo *next;
char *mesg;
int id;
char *note;
@@ -810,7 +809,7 @@ void sigs_init (void);
unsigned sigs_set_hdlr (int, void (*)(int));
/* todo.c */
-extern struct todo *todolist;
+extern llist_t todolist;
void todo_hilt_set (int);
void todo_hilt_decrease (void);
void todo_hilt_increase (void);
@@ -831,6 +830,7 @@ void todo_edit_item (void);
void todo_update_panel (int);
void todo_edit_note (char *);
void todo_view_note (char *);
+void todo_init_list (void);
void todo_free_list (void);
/* utils.c */