Mark todo_get_position() public

This is needed in "ui-todo.c" now.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2013-02-14 11:09:53 +01:00
parent 806673dd9b
commit 8de7399360
2 changed files with 2 additions and 1 deletions

View File

@@ -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;