X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/4fc4c15e6b9c39af3bf5367efeb2412c1267169a..037aeaf61ace944c3e763346f2f2b877624e6e67:/sbr/datetime.c diff --git a/sbr/datetime.c b/sbr/datetime.c index 71a21f99..333f2dda 100644 --- a/sbr/datetime.c +++ b/sbr/datetime.c @@ -9,6 +9,7 @@ #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" @@ -273,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) {