diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-15 17:44:40 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-15 17:44:40 +0200 |
| commit | 886b4e504e4e8cf665fe92f0fadb68bd7205e628 (patch) | |
| tree | 8353ded0d9ee7cfd54215b6ae0d1f1dacdd7b5e5 | |
| parent | 0e06db65fe8d44e349eee322d031c4b63e9603c8 (diff) | |
| download | sdep-886b4e504e4e8cf665fe92f0fadb68bd7205e628.tar.gz sdep-886b4e504e4e8cf665fe92f0fadb68bd7205e628.zip | |
Formatting
| -rw-r--r-- | sdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -16,7 +16,7 @@ | |||
| 16 | * Default date format. Anything that strftime(3) understands works, but | 16 | * Default date format. Anything that strftime(3) understands works, but |
| 17 | * it should determine a date completely up to the minute. | 17 | * it should determine a date completely up to the minute. |
| 18 | */ | 18 | */ |
| 19 | static char *default_format = "%Y-%m-%d %H:%M"; | 19 | static char *default_format = "%Y-%m-%d %H:%M"; |
| 20 | 20 | ||
| 21 | typedef struct Event Event; | 21 | typedef struct Event Event; |
| 22 | typedef struct EventList EventList; | 22 | typedef struct EventList EventList; |
| @@ -120,9 +120,9 @@ default_op(void) | |||
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | /* | 122 | /* |
| 123 | * Saves the events in ev[] that happen between op->from and op->to in sel[] | 123 | * Saves the events in ev[] that happen between op->from and op->to in sel[] |
| 124 | * sorted by date and returns their number. | 124 | * sorted by date and returns their number. |
| 125 | */ | 125 | */ |
| 126 | static int | 126 | static int |
| 127 | events_in_range(EventList *evlist, Options op, Event *sel) | 127 | events_in_range(EventList *evlist, Options op, Event *sel) |
| 128 | { | 128 | { |
