diff options
| -rw-r--r-- | sdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -50,7 +50,7 @@ struct Options { | |||
| 50 | static void add_event(struct tm t, char *text, EventList *evlist); | 50 | static void add_event(struct tm t, char *text, EventList *evlist); |
| 51 | static int compare_tm(struct tm *t1, struct tm *t2); | 51 | static int compare_tm(struct tm *t1, struct tm *t2); |
| 52 | static int compare_event(Event *event1, Event *event2); | 52 | static int compare_event(Event *event1, Event *event2); |
| 53 | static Options default_op(); | 53 | static Options default_op(void); |
| 54 | static int events_in_range(EventList *evlist, Options op, Event *sel); | 54 | static int events_in_range(EventList *evlist, Options op, Event *sel); |
| 55 | static char *format_line(Event ev, Options op, char *out); | 55 | static char *format_line(Event ev, Options op, char *out); |
| 56 | static void read_input(Options op, EventList *evlist); | 56 | static void read_input(Options op, EventList *evlist); |
| @@ -101,7 +101,7 @@ compare_event(Event *ev1, Event *ev2) | |||
| 101 | } | 101 | } |
| 102 | 102 | ||
| 103 | static Options | 103 | static Options |
| 104 | default_op() | 104 | default_op(void) |
| 105 | { | 105 | { |
| 106 | Options op; | 106 | Options op; |
| 107 | time_t t_now = time(NULL); | 107 | time_t t_now = time(NULL); |
