diff --git a/src/ical.c b/src/ical.c index 18c6bb5..d34ef38 100644 --- a/src/ical.c +++ b/src/ical.c @@ -773,7 +773,7 @@ ical_read_exdate(llist_t * exc, FILE * log, char *exstr, unsigned *noskipped, /* Return an allocated string containing the name of the newly created note. */ static char *ical_read_note(char *line, unsigned *noskipped, - ical_vevent_e item_type, const int itemline, + ical_types_e item_type, const int itemline, FILE * log) { char *p, *notestr, *note; diff --git a/src/io.c b/src/io.c index 884e3a9..bef4c55 100644 --- a/src/io.c +++ b/src/io.c @@ -932,7 +932,7 @@ void io_export_data(enum export_type type) } } -static FILE *get_import_stream(enum export_type type) +static FILE *get_import_stream(enum import_type type) { FILE *stream = NULL; char *stream_name;