From ba28426fc0788d52ac7128c2dcd7afeff8be1127 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 26 Jun 2012 09:17:23 +0200 Subject: 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 --- src/recur.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'src/recur.c') diff --git a/src/recur.c b/src/recur.c index 5eb6de6..024d886 100644 --- a/src/recur.c +++ b/src/recur.c @@ -978,32 +978,6 @@ struct notify_app *recur_apoint_check_next(struct notify_app *app, long start, return app; } -/* Returns a structure containing the selected recurrent appointment. */ -struct recur_apoint *recur_get_apoint(long date, int num) -{ - llist_item_t *i = LLIST_TS_FIND_NTH(&recur_alist_p, num, date, - recur_apoint_inday); - - if (i) - return LLIST_TS_GET_DATA(i); - - EXIT(_("item not found")); - /* NOTREACHED */ -} - -/* Returns a structure containing the selected recurrent event. */ -struct recur_event *recur_get_event(long date, int num) -{ - llist_item_t *i = LLIST_FIND_NTH(&recur_elist, num, date, - recur_event_inday); - - if (i) - return LLIST_GET_DATA(i); - - EXIT(_("item not found")); - /* NOTREACHED */ -} - /* Switch recurrent item notification state. */ void recur_apoint_switch_notify(struct recur_apoint *rapt) { -- cgit v1.2.3-54-g00ecf