sdep

A simple "date+event" line parser
git clone https://git.tronto.net/sdep
Download | Log | Files | Refs | README | LICENSE

commit 415908d6ec85e96d79f7f6267ea01c9cc6f50c77
parent e7142d86490389fd66a1a31cdc30118478047902
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Mon, 15 May 2023 17:52:33 +0200

Removed argument names from prototypes

Diffstat:
Msdep.c | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/sdep.c b/sdep.c @@ -47,16 +47,16 @@ struct Options { char *separator; }; -static void add_event(struct tm t, char *text, EventList *evlist); +static void add_event(struct tm, char *, EventList *); static int compare_tm(const void *, const void *); static int compare_event(const void *, const void *); 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); -static Options read_op(int argc, char *argv[]); -static char *strtrim(char *t); -static void write_output(Options op, Event *ev, int n); +static int events_in_range(EventList *, Options, Event *); +static char *format_line(Event, Options, char *); +static void read_input(Options, EventList *); +static Options read_op(int, char *[]); +static char *strtrim(char *); +static void write_output(Options, Event *, int); static void