sdep

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

commit 886b4e504e4e8cf665fe92f0fadb68bd7205e628
parent 0e06db65fe8d44e349eee322d031c4b63e9603c8
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Mon, 15 May 2023 17:44:40 +0200

Formatting

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

diff --git a/sdep.c b/sdep.c @@ -16,7 +16,7 @@ * Default date format. Anything that strftime(3) understands works, but * it should determine a date completely up to the minute. */ -static char *default_format = "%Y-%m-%d %H:%M"; +static char *default_format = "%Y-%m-%d %H:%M"; typedef struct Event Event; typedef struct EventList EventList; @@ -120,9 +120,9 @@ default_op(void) } /* -* Saves the events in ev[] that happen between op->from and op->to in sel[] -* sorted by date and returns their number. -*/ + * Saves the events in ev[] that happen between op->from and op->to in sel[] + * sorted by date and returns their number. + */ static int events_in_range(EventList *evlist, Options op, Event *sel) {