diff --git a/src/db.h b/src/db.h index 1d740dc..73579c0 100644 --- a/src/db.h +++ b/src/db.h @@ -5,5 +5,5 @@ #endif -extern void write_linkedlist_to_csv(llist *head, const char *filename); -extern void write_csv_to_llist(const char *filename); +void write_linkedlist_to_csv(llist *head, const char *filename); +llist *write_csv_to_llist(const char *filename); diff --git a/src/planner.h b/src/planner.h index 0eca7b1..9a2d2b6 100644 --- a/src/planner.h +++ b/src/planner.h @@ -83,4 +83,6 @@ int cmpEvent(const void *a, const void *b); */ llist *genPlan(llist *head, time_t timeAvail); +int exportiCal(llist *head); + #endif // !PLANNER