X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/bfff2c60b2c860c2bc466bdab94daf770d86aec5..037aeaf61ace944c3e763346f2f2b877624e6e67:/sbr/datetime.c diff --git a/sbr/datetime.c b/sbr/datetime.c index f79c9424..333f2dda 100644 --- a/sbr/datetime.c +++ b/sbr/datetime.c @@ -6,9 +6,11 @@ */ #include "h/mh.h" +#include "dtime.h" #include "error.h" #include "h/icalendar.h" -#include +#include "datetime.h" +#include "h/fmt_scan.h" #include "h/tws.h" #include "h/utils.h" #include "unquote.h" @@ -272,7 +274,7 @@ free_timezones (tzdesc_t timezone) * Given a recurrence rule and year, calculate its time in seconds * from 01 January UTC of the year. */ -time_t +static time_t rrule_clock (const char *rrule, const char *starttime, const char *zone, unsigned int year) {