X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/dc4d0c4bf247cfc88e1f3f9463fa2264d3d226b5..037aeaf61ace944c3e763346f2f2b877624e6e67:/sbr/datetime.c diff --git a/sbr/datetime.c b/sbr/datetime.c index f51ed2f4..333f2dda 100644 --- a/sbr/datetime.c +++ b/sbr/datetime.c @@ -6,8 +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" @@ -271,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) {