From d504396485c2225eab72c42267af3d7fa26eb4e5 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 15 May 2023 17:37:19 +0200 Subject: Added explicit void parameter --- sdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sdep.c') diff --git a/sdep.c b/sdep.c index 7ca2bf8..ae17769 100644 --- a/sdep.c +++ b/sdep.c @@ -50,7 +50,7 @@ struct Options { static void add_event(struct tm t, char *text, EventList *evlist); static int compare_tm(struct tm *t1, struct tm *t2); static int compare_event(Event *event1, Event *event2); -static Options default_op(); +static Options default_op(void); static int events_in_range(EventList *evlist, Options op, Event *sel); static char *format_line(Event ev, Options op, char *out); static void read_input(Options op, EventList *evlist); @@ -101,7 +101,7 @@ compare_event(Event *ev1, Event *ev2) } static Options -default_op() +default_op(void) { Options op; time_t t_now = time(NULL); -- cgit v1.3