From b0a6e1d4482499bbaa08238a8cb09b6f692556d6 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 6 Oct 2011 08:57:38 +0200 Subject: Pass item durations to recur_item_inday() Having item's durations eventually allows for better parsing of recurrent appointments as we might be interested in how many days are covered by a multi-day appointment. Signed-off-by: Lukas Fleischer --- src/calcurse.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/calcurse.h') diff --git a/src/calcurse.h b/src/calcurse.h index a681f92..a3ea45c 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -821,7 +821,8 @@ struct recur_event *recur_event_scan (FILE *, struct tm, int, char, void recur_apoint_write (struct recur_apoint *, FILE *); void recur_event_write (struct recur_event *, FILE *); void recur_save_data (FILE *); -unsigned recur_item_inday (long, llist_t *, int, int, long, long); +unsigned recur_item_inday (long, long, llist_t *, int, int, long, + long); unsigned recur_apoint_inday(struct recur_apoint *, long); unsigned recur_event_inday(struct recur_event *, long); void recur_event_erase (long, unsigned, unsigned, -- cgit v1.2.3