aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-05-15 17:37:19 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-05-15 17:37:19 +0200
commitd504396485c2225eab72c42267af3d7fa26eb4e5 (patch)
tree79297e5505ce29bcf14e70247ce02fa9a679becb
parentb653b47420ea75d36b92dbe353d1dbbe8e39b83c (diff)
downloadsdep-d504396485c2225eab72c42267af3d7fa26eb4e5.tar.gz
sdep-d504396485c2225eab72c42267af3d7fa26eb4e5.zip
Added explicit void parameter
Diffstat (limited to '')
-rw-r--r--sdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdep.c b/sdep.c
index 7ca2bf8..ae17769 100644
--- a/sdep.c
+++ b/sdep.c
@@ -50,7 +50,7 @@ struct Options {
50static void add_event(struct tm t, char *text, EventList *evlist); 50static void add_event(struct tm t, char *text, EventList *evlist);
51static int compare_tm(struct tm *t1, struct tm *t2); 51static int compare_tm(struct tm *t1, struct tm *t2);
52static int compare_event(Event *event1, Event *event2); 52static int compare_event(Event *event1, Event *event2);
53static Options default_op(); 53static Options default_op(void);
54static int events_in_range(EventList *evlist, Options op, Event *sel); 54static int events_in_range(EventList *evlist, Options op, Event *sel);
55static char *format_line(Event ev, Options op, char *out); 55static char *format_line(Event ev, Options op, char *out);
56static void read_input(Options op, EventList *evlist); 56static void read_input(Options op, EventList *evlist);
@@ -101,7 +101,7 @@ compare_event(Event *ev1, Event *ev2)
101} 101}
102 102
103static Options 103static Options
104default_op() 104default_op(void)
105{ 105{
106 Options op; 106 Options op;
107 time_t t_now = time(NULL); 107 time_t t_now = time(NULL);

Generated with cgit - Back to sebastiano.tronto.net