annotated print_upcoming function

This commit is contained in:
bjt-user 2024-10-05 15:56:08 +02:00
parent 773bd82216
commit 7e36e9143d

View File

@ -46,6 +46,8 @@ void free_list(struct event *head)
}
}
// print_upcoming() also prints ongoing events
// because you usually also want to see those
void print_upcoming(struct event *head, char current_date[], int show_all_events) {
int i = 0;
while (head != NULL) {