Remove unused functions

Remove apoint_get(), event_get(), recur_get_apoint() and
recur_get_event(), since they are no longer used.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2012-06-26 09:17:23 +02:00
parent 0504875219
commit ba28426fc0
4 changed files with 0 additions and 54 deletions

View File

@@ -154,18 +154,6 @@ struct event *event_scan(FILE * f, struct tm start, int id, char *note)
return event_new(buf, note, tstart, id);
}
/* Retrieve an event from the list, given the day and item position. */
struct event *event_get(long day, int pos)
{
llist_item_t *i = LLIST_FIND_NTH(&eventlist, pos, day, event_inday);
if (i)
return LLIST_TS_GET_DATA(i);
EXIT(_("event not found"));
/* NOTREACHED */
}
/* Delete an event from the list. */
void event_delete_bynum(long start, unsigned num, enum eraseflg flag)
{