X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ff2b7b715934b346b6121a2a434db116d3203663..9283525375671f0c4c6d0c021440074b3c96ac0a:/sbr/datetime.c diff --git a/sbr/datetime.c b/sbr/datetime.c index e4d2d148..333f2dda 100644 --- a/sbr/datetime.c +++ b/sbr/datetime.c @@ -6,8 +6,10 @@ */ #include "h/mh.h" +#include "dtime.h" #include "error.h" #include "h/icalendar.h" +#include "datetime.h" #include "h/fmt_scan.h" #include "h/tws.h" #include "h/utils.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) {