annotated print_upcoming function
This commit is contained in:
parent
773bd82216
commit
7e36e9143d
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user