summaryrefslogtreecommitdiff
path: root/src/todo.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2013-02-14 11:09:53 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2013-02-14 11:10:38 +0100
commit8de7399360e64d292198251da8fc8ae2ffbb7a7d (patch)
treebd88a49f210f755f1a7309fbfd96deefbb433b0b /src/todo.c
parent806673dd9b256e879d1483255886a8881d1d8115 (diff)
downloadcalcurse-8de7399360e64d292198251da8fc8ae2ffbb7a7d.zip
Mark todo_get_position() public
This is needed in "ui-todo.c" now. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/todo.c')
-rw-r--r--src/todo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/todo.c b/src/todo.c
index 160e84a..a0d464f 100644
--- a/src/todo.c
+++ b/src/todo.c
@@ -123,7 +123,7 @@ void todo_flag(struct todo *t)
* Returns the position into the linked list corresponding to the
* given todo item.
*/
-static int todo_get_position(struct todo *needle)
+int todo_get_position(struct todo *needle)
{
llist_item_t *i;
int n = 0;